diff --git a/lib/gollum/frontend/app.rb b/lib/gollum/frontend/app.rb index dc5648cc..ace37248 100644 --- a/lib/gollum/frontend/app.rb +++ b/lib/gollum/frontend/app.rb @@ -230,7 +230,7 @@ module Precious wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options) @results = Gollum::FileView.new(wiki.pages).render_files @ref = wiki.ref - mustache :file_view + mustache :file_view, { :layout => false } end get '/*' do diff --git a/lib/gollum/frontend/templates/file_view.mustache b/lib/gollum/frontend/templates/file_view.mustache index 9b38b1c4..338f97c8 100644 --- a/lib/gollum/frontend/templates/file_view.mustache +++ b/lib/gollum/frontend/templates/file_view.mustache @@ -2,8 +2,11 @@ + + + - File View + {{title}} diff --git a/lib/gollum/frontend/views/file_view.rb b/lib/gollum/frontend/views/file_view.rb index 383fcad2..c1a582ab 100644 --- a/lib/gollum/frontend/views/file_view.rb +++ b/lib/gollum/frontend/views/file_view.rb @@ -4,7 +4,7 @@ module Precious attr_reader :results, :ref def title - "All pages in #{@ref}" + "File view of #{@ref}" end def has_results