templates doku
All checks were successful
the build was successful

This commit is contained in:
Sebastian Frank
2019-02-19 15:18:37 +01:00
parent ac8ff9fbc1
commit 5b5b5d8c3a
3 changed files with 352 additions and 0 deletions

View File

@@ -474,6 +474,7 @@ RewriteRule ^$ %{REQUEST_URI}`+goToFixed+`/ [R,L]
// read yaml header as data for template
ctx := make(pongo2.Context)
ctx["This"] = newConfig.This
ctx["Meta"] = newConfig.Meta
ctx["Data"] = newConfig.Data
ctx["NavMap"] = navMap