ref: a3e08592526237e793ae8bc9ecfecd982c0dd9c4
parent: 39a70df44a598e5eb430ac264d6df772c31db1d6
author: sl <[email protected]>
date: Sun Oct 25 05:31:01 EDT 2009
Allow overriding the manual section listing page (just create an index.md or index.html in the dir where wman is enabled).
--- a/apps/wman/app.rc
+++ b/apps/wman/app.rc
@@ -38,7 +38,7 @@
synth_paths=($wman_base_uri$wman_cat_list'/')
- if(~ $req_path $wman_base_uri)
+ if(~ $req_path $wman_base_uri && ~ $"handler_body_main '')
handler_body_main=(tpl_handler apps/wman/section_list.tpl)
if not if(~ $req_path $wman_base_uri^*) {
#^*/[a-z0-9]*[a-z]* $wman_base_uri^*/*[a-z]*[a-z0-9] $wman_base_uri^*/[a-z])