ref: e3a512abceedcc9f39194e76e23a0a8e23cbc778
parent: 427f2e1114a33e7bff1494c496f67fb75ce5adbc
author: uriel <[email protected]>
date: Fri Jan 23 12:51:23 EST 2009
Two minor handler changes: tpl_handler now can take multiple templates, md_handler can only take one .md file.
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -58,9 +58,9 @@
# Handlers
-fn md_handler { cat $* | $formatter }
+fn md_handler { $formatter < $1 }
-fn tpl_handler { template $1 }
+fn tpl_handler { template $* }
fn html_handler {
# body states: 0 = no <body> found, 2 = after <body>, 1 = after <body></body>, -1 = after </body>