Fix #413.
This commit is contained in:
@@ -295,8 +295,9 @@ module Precious
|
|||||||
def show_page_or_file(fullpath)
|
def show_page_or_file(fullpath)
|
||||||
path = extract_path(fullpath)
|
path = extract_path(fullpath)
|
||||||
name = extract_name(fullpath)
|
name = extract_name(fullpath)
|
||||||
wiki_options = settings.wiki_options.merge({ :page_file_dir => path })
|
# This breaks headers, footers, and sidebars.
|
||||||
wiki = Gollum::Wiki.new(settings.gollum_path, wiki_options)
|
# wiki_options = settings.wiki_options.merge({ :page_file_dir => path })
|
||||||
|
wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
|
||||||
|
|
||||||
if page = wiki.page(name)
|
if page = wiki.page(name)
|
||||||
@page = page
|
@page = page
|
||||||
|
|||||||
Reference in New Issue
Block a user