]> git.nbdom.net Git - nb.git/commitdiff
/etc/nginx/git/lua-resty-hoedown/lib/resty/hoedown/document.lua
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 5 Jun 2018 02:55:16 +0000 (03:55 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 5 Jun 2018 02:55:16 +0000 (03:55 +0100)
lib/lua/nb.lua

index c1c5bad36c931fe4029fda85658e6cb659310915..27be29b9e7fefa6ec31b418c2c62eec59c657263 100644 (file)
@@ -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)