summaryrefslogtreecommitdiff
path: root/layouts/blog.lua
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/blog.lua')
-rw-r--r--layouts/blog.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/blog.lua b/layouts/blog.lua
new file mode 100644
index 0000000..eaed8a2
--- /dev/null
+++ b/layouts/blog.lua
@@ -0,0 +1,8 @@
+local base = require('layouts.base')
+
+return function(html, page_tbl)
+ local html = string.format(
+ '<h1>%s</h1>\n\n%s',
+ page_tbl.title, html)
+ return base(html, page_tbl)
+end