ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit a2871109a39ec889779298373355971125bbe793
parent eec850fdb45ab26dd1f265b280cf1d506e900150
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat, 25 Nov 2017 11:03:57 -0500

Add lastupdate value in the feed table

Diffstat:
Mfunctions/make-atom-feed.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/functions/make-atom-feed.lua b/functions/make-atom-feed.lua @@ -19,6 +19,8 @@ local function makeatomfeed() table.insert(feed["entries"], v) end + feed["lastupdate"] = feed["entries"][1].updated + -- Build the Atom XML file fileutils.pushfilecontent( feedfile,