diff options
author | Qrius <[email protected]> | 2024-09-26 00:11:05 +0200 |
---|---|---|
committer | Qrius <[email protected]> | 2024-09-26 00:11:05 +0200 |
commit | 6af9f573fce9c167487e10c7327feff357327d6a (patch) | |
tree | 1969c1bfad6de89ad7da3b9904c20ef78b14df9c /skaldpress.1 | |
parent | c7e3570f90ddd495c0a27969e738de5a21bbccff (diff) | |
download | skaldpress-6af9f573fce9c167487e10c7327feff357327d6a.tar.gz skaldpress-6af9f573fce9c167487e10c7327feff357327d6a.zip |
Change around some things, don't clone MacroProcessor for nested templates, so we can keep state from parents
Diffstat (limited to 'skaldpress.1')
-rw-r--r-- | skaldpress.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/skaldpress.1 b/skaldpress.1 index dfa8ea8..eec8dd3 100644 --- a/skaldpress.1 +++ b/skaldpress.1 @@ -49,6 +49,11 @@ since it is recursive, any metadata in templates will overwrite any metadata fro but will keep metadata that is not overwritten. This means templates can add additional context. +.IP "\fBkeep_states\fR" +List or string where every listed state/variable will be kept for subsequenct compilations. +Meaning that you can e.g. construct a array in the first compilation, which is then used the second time around. +Setting this, means that the file will always be recompiled, regardeless of other instances (unless a \fB--filter\fR is set). + .SH OPTIONS .IP "\fB-o, --out, --output\fR \fIpath\fR Specifies the directory to output the compiled files to, defaults to \fIbuild\fR. |