From a8fd3560fdc7ba49ee08f0d7304bf58f7b2166fa Mon Sep 17 00:00:00 2001 From: uriel Date: Fri, 23 Jan 2009 17:51:23 +0100 Subject: [PATCH] Two minor handler changes: tpl_handler now can take multiple templates, md_handler can only take one .md file. --- bin/werc.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/werc.rc b/bin/werc.rc index 38ccf5d..0ecc116 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -58,9 +58,9 @@ fn nav_tree { # 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 found, 2 = after , 1 = after , -1 = after