]> git.plutz.net Git - shellwiki/blobdiff - handlers/10_page.sh
allow attachment revisioning
[shellwiki] / handlers / 10_page.sh
index 87af6850279a517c957be9440221c8a0f4a4b8e2..f8cbbafaae166c9f141af7d548c18f3a5cba47b5 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 . "$_EXEC/cgilite/file.sh"
+. "$_EXEC/css.sh"
 
 CACHE_AGE=${CACHE_AGE:-300}
 export MD_MACROS="$_EXEC/macros"
@@ -61,6 +62,7 @@ case "${PATH_INFO}" in
     elif ! acl_read "$PATH_INFO"; then
       theme_error 403
     else
+      PAGE_CSS="$(css "${PATH_INFO}")"
       theme_page "${PATH_INFO}"
     fi
     return 0