summaryrefslogtreecommitdiff
path: root/theme.scm
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-08-15 12:13:30 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-08-15 12:13:30 -0500
commitf1eedadb07ebc8385a7534b1a7a4d9b5f7d0306d (patch)
tree7a4c8adb512c335d7487c9f80721112f9838a753 /theme.scm
parenta5fd4f13bb838dd8fe42e92683a33c22a7a9e522 (diff)
implement hamburger-type nav menumain
Diffstat (limited to 'theme.scm')
-rw-r--r--theme.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/theme.scm b/theme.scm
index 1c5be1a..e3b4a09 100644
--- a/theme.scm
+++ b/theme.scm
@@ -39,9 +39,12 @@
(body
(header (span ,(assq-ref (site-default-metadata site) 'author))
(nav (ul (li (a (@ (href "/")) "Home"))
- (li (a (@ (href "/now")) "Now"))
- (li (a (@ (href "/blog")) "Blog"))
- (li (a (@ (href "/games.html")) "Games")))))
+ (li (details (summary "Pages")
+ (ul
+ (li (a (@ (href "/now")) "Now"))
+ (li (a (@ (href "/blog")) "Blog"))
+ (li (a (@ (href "/games.html")) "Games"))
+ ))))))
(main
,body))))))