diff options
Diffstat (limited to 'blog/test-post.lua')
-rw-r--r-- | blog/test-post.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/blog/test-post.lua b/blog/test-post.lua new file mode 100644 index 0000000..c6cbd84 --- /dev/null +++ b/blog/test-post.lua @@ -0,0 +1,27 @@ +require'h' + +head = mkhead'reblogcca' + + + +top = header { + img({id='me',src='/me.png'},''), + h1 'rebecca blog', + p [[ there is some text here ]], +} + +breadcrumbs = bcrumb { + + {'< home','/'}, + {'rebecca blog','/blog'}, + {'what do i mean by "telephone"'} +} + +sect = section { + h2 'what do i mean by "telephone"'; + p(blorem()); +} + +print(html{ + head, top, breadcrumbs, sect, +}) |