diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-08-15 12:13:30 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-08-15 12:13:30 -0500 |
| commit | f1eedadb07ebc8385a7534b1a7a4d9b5f7d0306d (patch) | |
| tree | 7a4c8adb512c335d7487c9f80721112f9838a753 /theme.scm | |
| parent | a5fd4f13bb838dd8fe42e92683a33c22a7a9e522 (diff) | |
implement hamburger-type nav menumain
Diffstat (limited to 'theme.scm')
| -rw-r--r-- | theme.scm | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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)))))) |
