summaryrefslogtreecommitdiff
path: root/src/operationnull/theme.scm
diff options
context:
space:
mode:
Diffstat (limited to 'src/operationnull/theme.scm')
-rw-r--r--src/operationnull/theme.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/operationnull/theme.scm b/src/operationnull/theme.scm
index d44881a..db5a157 100644
--- a/src/operationnull/theme.scm
+++ b/src/operationnull/theme.scm
@@ -56,13 +56,13 @@
"UMass Amherst"))))
(nav
'(div (@ (class "container"))
- (ul (li (a (@ (href "https://git.operationnull.com/"))
+ (ul (li (a (@ (href "gemini://porphyrion.operationnull.com/"))
+ "porphyrion"))
+ (li (a (@ (href "https://git.operationnull.com/"))
"git"))
(li (a (@ (href "/contact.html"))
"contact"))
- ;; (li (a (@ (href "/posts/"))
- ;; "blog"))
- (li (a (@ (href "/"))
+ (li (a (@ (href "/"))
"home")))))
,body
(footer (@ (class "footer"))
@@ -88,7 +88,14 @@
(h3 (@ (class "title")),(post-ref post 'title))
(div (@ (class "date"))
,(date->string (post-date post)
- "~B ~d, ~Y"))
+ "created: ~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