changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > werc / apps/blagh/atom.tpl

revision 664: df20e7e8792a
parent 657: fb460a671d19
child 677: 334bffe4a4f1
     1.1--- a/apps/blagh/atom.tpl	Wed Feb 10 20:32:57 2016 -0500
     1.2+++ b/apps/blagh/atom.tpl	Wed Feb 10 20:33:27 2016 -0500
     1.3@@ -5,7 +5,7 @@
     1.4 fn statpost {
     1.5     f = $1
     1.6 
     1.7-    updated = `{date -t `{mtime $f | awk '{print $1}'}} # date -t is 9front/9base only
     1.8+    updated = `{datet `{mtime $f | awk '{print $1}'}}
     1.9     post_uri=$base_url^`{cleanname `{echo $f | sed -e 's!^'$sitedir'!!'}}^'/'
    1.10     title=`{read $f/index.md}
    1.11     # Not used: date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}}
    1.12@@ -16,7 +16,7 @@
    1.13     #ifs=() { summary=`{cat $f/index.md | crop_text 1024 ... | $formatter } }
    1.14     ifs=() { summary=`{cat $f/index.md | strip_title_from_md_file | ifs=$difs {$formatter} } }
    1.15 }
    1.16-updated = `{date -t} # date -t is 9front/9base only
    1.17+updated = `{datet}
    1.18 %}
    1.19 
    1.20 <feed xmlns="http://www.w3.org/2005/Atom"