hooks: shareable settings with defaults #19
Labels
module:hooks
state:confirmed
This issue is confirmed.
type:enhancement
New enhancements and features.
We have hooks that execute and print code in our templates. How about having some form of pluggable truth giving variables.
Sample:
in the config:
in the layout:
Sure, this could be on a per template/theme base, but with a reusable system this could be used to enable/disable date display, comment forms on a global or even local (frontmatter params) level and reuse documentation for these settings.
The executing code could be some form of
and the partial could take care of sanitisation, comments in the CLI output, collection of available settings, etc.
The text was updated successfully, but these errors were encountered: