aboutsummaryrefslogtreecommitdiff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-01-02 15:28:59 +0100
committerJohn MacFarlane <[email protected]>2022-01-02 11:55:02 -0800
commitefdba79ad18fcbe33992878b02be25f8e9616b0c (patch)
tree2c6f82d499bd12105f34de14d4fcf957c93ce27d /COPYRIGHT
parent60fc05e2ce2dc4b0191ee98daccf301a065e2dae (diff)
Lua writer: allow variables to be set via second return value of `Doc`
New templates variables can be added by giving variable-value pairs as a second return value of the global function `Doc`. Example: function Doc (body, meta, vars) vars.date = vars.date or os.date '%B %e, %Y' return body, vars end Closes: #6731
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions