summaryrefslogtreecommitdiff
path: root/h.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-05-08 15:35:48 +0100
committerubq323 <ubq323@ubq323.website>2023-05-08 15:35:48 +0100
commit35409af1e0230323a6bc96de229ef2aa02a2a086 (patch)
tree6e4d37202b890933400b86a3ffd1861ee4d0da34 /h.lua
parent0a1d8b0c16f416f34b7f2e6fe0d430cbec9b66cc (diff)
background change
Diffstat (limited to 'h.lua')
-rw-r--r--h.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/h.lua b/h.lua
index 60b9ce3..7eb4baf 100644
--- a/h.lua
+++ b/h.lua
@@ -135,6 +135,26 @@ function bcrumb(items)
)
end
+
+function blogpost(meta,content)
+ local head = mkhead(meta.title.." - rebecca blog")
+
+ local top = header {
+ img({id='me',src='/me.png'},''),
+ h1 'rebecca blog',
+ p [[ there is some text here ]],
+ }
+
+ local breadcrumbs = bcrumb {
+ {'⌂ home','/'},
+ {'rebecca blog','/blog'},
+ {meta.title},
+ }
+
+ return html{head,top,breadcrumbs,content}
+end
+
+
-- the box at the top with the cool picture of me in, etc
-- presumably the same on all pages
site_top = mktopbox('/me.png',"ubq323's website",