commit 9e7036d2f638819ba9913e3c88809a69127c27c8
parent 264b389c80ade69662618c46b5cb61e8e692e4b2
Author: Hugo Soucy <hugo@soucy.cc>
Date: Thu, 10 Feb 2022 19:09:14 -0500
Move comments
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/satelito/model.lua b/satelito/model.lua
@@ -72,9 +72,9 @@ function model.set(filepath, config, contentdir)
pagemeta.footer = pagemeta.footer or 'footer'
pagemeta.feed = pagemeta.feed or 'feed.xml'
+ -- Include a partial template and compile it
+ -- @usage <%- include("test-partial") %>
pagemeta.include = function(templatename)
- -- Include a partial template and compile it
- -- @usage <%- include("test-partial") %>
local inc = etlua.compile(file.read(template.find(templates, templatename)))
return inc(pagemeta)