diff options
author | sanine <sanine.not@pm.me> | 2023-01-12 17:29:28 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-01-12 17:29:28 -0600 |
commit | f9f8a3206298363059601f6c389584426962e5e4 (patch) | |
tree | b0ed2fd393a1064c01aabdce548e9f84215a8c57 /layouts/blog.lua | |
parent | 655cd79991ec9204afb9f5acf52495c13af14d25 (diff) |
wrong branch :c
Diffstat (limited to 'layouts/blog.lua')
-rw-r--r-- | layouts/blog.lua | 8 |
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 |