about summary refs log tree commit diff
path: root/users/tazjin/atom-feed/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/atom-feed/default.nix')
-rw-r--r--users/tazjin/atom-feed/default.nix4
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 ""