I decided to play a bit with swerc and found that I would like to override the template files on a per site basis. I have included a simple patch which should do just that. It's just a modification of the get_tpl_file function in bin/util.rc . The new function looks in the _werc/tpl directory for the template before searching elsewhere. This was applied against revision e22a60362bb8 (tip as of right now).
Cheers, -J
--- swerc-e22a60362bb8/bin/util.rc 2012-02-14 21:51:09.000000000 -0800 +++ swerc/bin/util.rc 2012-02-20 21:43:13.072673874 -0800 @@ -84,7 +84,9 @@ fn conf_perm_redirect { } fn get_tpl_file { - if(test -f tpl/$1.local) + if(test -f $sitedir/_werc/tpl/$1) + echo -n $sitedir/_werc/tpl/$1 + if not if(test -f tpl/$1.local) echo -n tpl/$1.local if not if(test -f tpl/$1) echo -n tpl/$1