Implement Page#title.

This commit is contained in:
Tom Preston-Werner
2010-07-22 14:48:46 -07:00
parent 792c682f1d
commit 1af9898b4d
57 changed files with 60 additions and 44 deletions
+1 -3
View File
@@ -223,9 +223,7 @@ html {overflow-y: scroll;}
}
.wikistyle h1:first-child {
margin-top: 0 !important;
padding-top: .25em !important;
border-top: none !important;
display: none;
}
.wikistyle h2 {
+1 -1
View File
@@ -4,7 +4,7 @@ module Precious
attr_reader :content, :page
def human_name
@name.gsub(/-/, ' ')
@page.title
end
def title