summaryrefslogtreecommitdiff
path: root/theme.scm
diff options
context:
space:
mode:
Diffstat (limited to 'theme.scm')
-rw-r--r--theme.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/theme.scm b/theme.scm
index 6d651cb..fc267e3 100644
--- a/theme.scm
+++ b/theme.scm
@@ -85,6 +85,13 @@ free culture works available under the " ,%cc-by-sa-link " license.")
(div (@ (class "date"))
,(date->string (post-date post)
"~B ~d, ~Y"))
+ (div (@ (class "tags"))
+ "Tags:"
+ (ul ,@(map (lambda (tag)
+ `(li (a (@ (href ,(string-append "/feeds/tags/"
+ tag ".xml")))
+ ,tag)))
+ (assq-ref (post-metadata post) 'tags))))
(div (@ (class "post"))
,(post-sxml post))))
#:collection-template