mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-21 06:16:31 -04:00
Implement .DocFlags directive and tests. It holds all the boolean-typed front matter values.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
Doc.var_string {{.Doc.var_string}}
|
||||
Doc.var_bool {{.Doc.var_bool}}
|
||||
DocFlags.var_string {{.DocFlags.var_string}}
|
||||
DocFlags.var_bool {{.DocFlags.var_bool}}
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
var_string: hello
|
||||
var_bool: true
|
||||
---
|
||||
Reference in New Issue
Block a user