diff --git a/lib/gollum/frontend/app.rb b/lib/gollum/frontend/app.rb index 2d3bd14d..5910271a 100644 --- a/lib/gollum/frontend/app.rb +++ b/lib/gollum/frontend/app.rb @@ -85,6 +85,7 @@ module Precious @base_url = url('/', false).chomp('/') # above will detect base_path when it's used with map in a config.ru settings.wiki_options.merge!({ :base_path => @base_url }) + @css = settings.wiki_options[:css] end get '/' do diff --git a/lib/gollum/frontend/templates/file_view.mustache b/lib/gollum/frontend/templates/file_view.mustache index 455f1bba..16e9f968 100644 --- a/lib/gollum/frontend/templates/file_view.mustache +++ b/lib/gollum/frontend/templates/file_view.mustache @@ -5,6 +5,7 @@ + {{#css}}{{/css}}