From f9f8a3206298363059601f6c389584426962e5e4 Mon Sep 17 00:00:00 2001 From: sanine Date: Thu, 12 Jan 2023 17:29:28 -0600 Subject: wrong branch :c --- layouts/blog.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 layouts/blog.lua (limited to 'layouts/blog.lua') 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( + '

%s

\n\n%s', + page_tbl.title, html) + return base(html, page_tbl) +end -- cgit v1.2.1