diff options
Diffstat (limited to 'users/tazjin/atom-feed')
-rw-r--r-- | users/tazjin/atom-feed/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/users/tazjin/atom-feed/default.nix b/users/tazjin/atom-feed/default.nix index cd189b86754d..fe5e4b997c0a 100644 --- a/users/tazjin/atom-feed/default.nix +++ b/users/tazjin/atom-feed/default.nix @@ -111,6 +111,10 @@ let ${elem "title" e.title} ${elem "id" e.id} ${elem "updated" (renderEpoch e.updated)} + ${if e ? published + then elem "published" (renderEpoch e.published) + else "" + } ${if e ? content then ''<content type="html">${escape e.content}</content>'' else "" |