summaryrefslogtreecommitdiff
path: root/blog/test-post.lua
blob: 06fe9e3b6fa115a2688f523fea214568d249ab25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require'h'

local meta = {
	title='what do i mean by "telephony"',
	date="2022-12-22",
	tags={"telephony"},
}
if ... then return meta end
local head = mkhead'reblogcca'

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},
}

sect = section {
	h2 'what do i mean by "telephone"';
	p(blorem());
}

print(html{
	head, top, breadcrumbs,  sect,
})