@@ -7,6 +7,6 @@ end
|
|||||||
gem 'gollum-lib', :git => 'https://github.com/gollum/gollum-lib.git', :branch => 'gollum-lib-5.x' # For development purposes
|
gem 'gollum-lib', :git => 'https://github.com/gollum/gollum-lib.git', :branch => 'gollum-lib-5.x' # For development purposes
|
||||||
gem 'therubyrhino', :platforms => :jruby
|
gem 'therubyrhino', :platforms => :jruby
|
||||||
gemspec
|
gemspec
|
||||||
gem "rake", ">= 12.3.3"
|
|
||||||
|
|
||||||
|
gem "rake", '~> 12.3', '>= 12.3.3'
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ module Precious
|
|||||||
|
|
||||||
def title
|
def title
|
||||||
h1 = @h1_title ? page_header_from_content(@content) : false
|
h1 = @h1_title ? page_header_from_content(@content) : false
|
||||||
h1 || @page.title
|
h1 || @page.url_path_title # url_path_title is the metadata title if present, otherwise the filename-based title
|
||||||
end
|
end
|
||||||
|
|
||||||
def page_header
|
def page_header
|
||||||
|
|||||||
Reference in New Issue
Block a user