diff options
Diffstat (limited to 'web/blog/fragments.nix')
-rw-r--r-- | web/blog/fragments.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/blog/fragments.nix b/web/blog/fragments.nix index 19d62fa4744d..8126278270dc 100644 --- a/web/blog/fragments.nix +++ b/web/blog/fragments.nix @@ -73,6 +73,7 @@ let then ''date --date="@${toString post.updated}" '+ (updated %Y-%m-%d)' >> $out'' else "" } + ${if post ? author then "echo ' by ${post.author}' >> $out" else ""} echo '</aside>' >> $out ${ |