提交 80e71787 编写于 作者: X Xavier Noria

guides: adds page title to home and credits, and revises it in the rest

上级 29d55d86
......@@ -148,7 +148,7 @@ def set_header_section(body, view)
header = $1
header =~ /h2\.(.*)/
page_title = $1.strip
page_title = "Ruby on Rails Guides: #{$1.strip}"
header = textile(header)
......
<% content_for :page_title do %>
Ruby on Rails Guides: Credits
<% end %>
<% content_for :header_section do %>
<h2>Credits</h2>
......
<% content_for :page_title do %>
Ruby on Rails Guides
<% end %>
<% content_for :header_section do %>
<h2>Ruby on Rails Guides</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册