pdssg

Pandoc static site generator
Log | Files | Refs | README | LICENSE

commit 8d38613ebf6ed540911c9f857d80b618d32a2d1d
parent 73c283bf71f247c83024cb0060d046119934e552
Author: torresjrjr <b.torres.edu@gmail.com>
Date:   Wed, 27 May 2020 02:24:00 +0100

Add ISO date metadata to Atom feed

Diffstat:
Mpdssg | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/pdssg b/pdssg @@ -124,10 +124,13 @@ make_atom_feed() { echo "# Making atom feed." echo "Making base feed document" + NOW_DT="$(date -uIs)" + pandoc \ -f markdown -t html \ $ATOM_FILE -o $ATOM_OUT \ -M lang:en \ + -M "date:$NOW_DT" \ --standalone \ --template=./_templates/atom.xml \ --metadata-file=$CACHE_FILE