summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Webster <hwebs@hwebs.info>2026-07-20 10:07:33 -0500
committerHenry Webster <hwebs@hwebs.info>2026-07-20 10:07:33 -0500
commit3a2d4539da1bec1aece0c4398ba66381d0a32089 (patch)
treec4174686f848e4b18d1290e5f17a6624b1611b70
parent76015a0f1215090201ff3d1e07a95f036e816b73 (diff)
add header
-rw-r--r--style.css3
-rw-r--r--theme.scm1
2 files changed, 4 insertions, 0 deletions
diff --git a/style.css b/style.css
index 67cfad7..4ad622a 100644
--- a/style.css
+++ b/style.css
@@ -11,3 +11,6 @@ body {
main {
margin: 0 1rem;
}
+header {
+ padding: 0.5rem 1rem;
+}
diff --git a/theme.scm b/theme.scm
index bb4ba53..85d48a6 100644
--- a/theme.scm
+++ b/theme.scm
@@ -19,6 +19,7 @@
(href "style.css")))
(title ,(string-append title " — " (site-title site))))
(body
+ (header (span ,(assq-ref (site-default-metadata site) 'author)))
(main
(article (h1 ,title)
,body))))))))