Implement Page#title.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -4,7 +4,7 @@ module Precious
|
||||
attr_reader :content, :page
|
||||
|
||||
def human_name
|
||||
@name.gsub(/-/, ' ')
|
||||
@page.title
|
||||
end
|
||||
|
||||
def title
|
||||
|
||||
Reference in New Issue
Block a user