summaryrefslogtreecommitdiff
path: root/layouts/blog.lua
blob: eaed8a287566cd840db47aedc1a5d18fb4f83e59 (plain)
1
2
3
4
5
6
7
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