commit acb4625d101e1f049105094abb982ccf31d671c2
parent ac41dbb23fbbb53cbf6763c10b3e6d3c3454f49a
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date: Thu, 1 Nov 2018 13:40:24 -0400
Make some template tests
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/a-propos.json b/content/a-propos.json
@@ -3,6 +3,6 @@
"datetime":"00:00:00",
"id":"tag:hugo.soucy.cc,2017-03-16:2017/03/a-propos",
"shortlink":"25",
- "template":"default",
+ "template":"test",
"title":"À propos de ce site Web"
}
\ No newline at end of file
diff --git a/templates/test.etlua b/templates/test.etlua
@@ -1,6 +1,6 @@
<!-- templates/test.etlua -->
<html>
- <% etlua.render("partials.head") %>
+ <%= rendersub() %>
<body>
Hello <%- title %>