diff --git a/bin/cgilib.rc b/bin/cgilib.rc index e17ad36..add3b7d 100644 --- a/bin/cgilib.rc +++ b/bin/cgilib.rc @@ -254,7 +254,7 @@ fn gen_blog_post_title { } if not if(~ $#blogDirs 1) by='By '$du(4) - echo '##' $"title^' *( '$by Last mod: $du(7 8 9) ' )*' + echo '##' $"title^' *( '$by Last mod: $du(7 8 9) $current_date_time(5) ' )*' } diff --git a/bin/werc.rc b/bin/werc.rc index 740981a..14667d4 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -212,6 +212,7 @@ headers=lib/headers.tpl master_template=default_master.tpl sidebar=sidebar baseuri=http://$site/ +current_date_time=`{date} for(i in siteTitle siteSubTitle pageTitle extraHeaders) $i = ''