From 9da95653a49ee1e91904e0e7643511cfa3732396 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 5 Jun 2018 03:55:16 +0100 Subject: [PATCH] /etc/nginx/git/lua-resty-hoedown/lib/resty/hoedown/document.lua --- lib/lua/nb.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lua/nb.lua b/lib/lua/nb.lua index c1c5bad3..27be29b9 100644 --- a/lib/lua/nb.lua +++ b/lib/lua/nb.lua @@ -41,8 +41,8 @@ function nb:ngx_location_tmpl(fheader,ffooter) local vars = { } - if not fheader then fheader = root .. "/tmpl/header.html" end - if not ffooter then ffooter = root .. "/tmpl/footer.html" end + if not fheader then fheader = root .. "/tmpl/header.tmpl.html" end + if not ffooter then ffooter = root .. "/tmpl/footer.tmpl.html" end local template = require "resty.template" -- NB 25.05.18 template.print = function(s) -- 2.47.3