diff src/twisted/plugins/libervia_server.py @ 990:6daa59d44ee2

pages: menu implementation, first draft: menu can now be specified in sat.conf using menu_json setting and using pages' names. A default menu is set in constants, with only login and blog pages for now.
author Goffi <goffi@goffi.org>
date Fri, 01 Dec 2017 00:02:34 +0100
parents fd4eae654182
children f2170536ba23
line wrap: on
line diff
--- a/src/twisted/plugins/libervia_server.py	Thu Nov 30 21:05:24 2017 +0100
+++ b/src/twisted/plugins/libervia_server.py	Fri Dec 01 00:02:34 2017 +0100
@@ -117,6 +117,7 @@
     ['empty_password_allowed_warning_dangerous_list', None, '', None],
     ['url_redirections_profile', None, '', None],
     ['url_redirections_dict', None, {}, None],
+    ['menu_json', None, C.DEFAULT_MENU, None],
 ]
 
 def initialise(options):