summaryrefslogtreecommitdiff
path: root/blog/test-post.lua
diff options
context:
space:
mode:
Diffstat (limited to 'blog/test-post.lua')
-rw-r--r--blog/test-post.lua17
1 files changed, 11 insertions, 6 deletions
diff --git a/blog/test-post.lua b/blog/test-post.lua
index c6cbd84..06fe9e3 100644
--- a/blog/test-post.lua
+++ b/blog/test-post.lua
@@ -1,20 +1,24 @@
require'h'
-head = mkhead'reblogcca'
-
-
+local meta = {
+ title='what do i mean by "telephony"',
+ date="2022-12-22",
+ tags={"telephony"},
+}
+if ... then return meta end
+local head = mkhead'reblogcca'
-top = header {
+local top = header {
img({id='me',src='/me.png'},''),
h1 'rebecca blog',
p [[ there is some text here ]],
}
-breadcrumbs = bcrumb {
+local breadcrumbs = bcrumb {
{'< home','/'},
{'rebecca blog','/blog'},
- {'what do i mean by "telephone"'}
+ {meta.title},
}
sect = section {
@@ -25,3 +29,4 @@ sect = section {
print(html{
head, top, breadcrumbs, sect,
})
+