Use deface in wiki plugin

This commit is contained in:
Patrick Gansterer 2017-10-20 12:06:34 +02:00
parent 8e593f8629
commit da1ebe915c
6 changed files with 7 additions and 5 deletions

View file

@ -0,0 +1,2 @@
/ insert_before ':root:first-child'
= config_input form, :use_wiki, as: :boolean

View file

@ -0,0 +1,3 @@
/ insert_after 'noscript'
- if FoodsoftWiki.enabled? && (page = Page.public_front_page)
= wikified_body page.body, page.title