ChinesePython Wiki   HelpOnSkins UserPreferences
 
 ChinesePython Wiki   中蟒大杂院   最近修改   标题目录   文字目录   站内导航   求助 

1 Changing the page layout

While MoinMoin currently has no full support for HTML templates, and switching between several layouts, you can change the most important parts of the generated HTML code, and add your own HTML fragments.

"title1" and "title2" are inserted into the output right before and after the system's title html code (title1 is right after the <body> tag and normally undefined, title2 defaults to the "<hr>" above the page contents). "navi_bar" is a list of page names1 that are added to the title area as quick links into the wiki; if it is None, no navigation bar is added.

Similarly, the footer area can be changed by setting "page_footer1" and "page_footer2".

"html_head" is added into the <head> element for all pages, while "html_head_queries" is sent only for edit and action pages (html_head is sent for those, too).

See http://openlook.org/ for a very nice example.
____
   1 In versions prior to 0.11, navi_bar was a piece of HTML code.


PythonPowered
编辑文字 of 本页 (上次修改 2002-05-10 08:46:39)
查找页面 by browsing, title search , text search or an index
或尝试以下动作: LikePages, LocalSiteMap, SpellCheck