Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Selmer integration for content preprocessing #93

Open
stelcodes opened this issue Aug 14, 2022 · 0 comments
Open

Add Selmer integration for content preprocessing #93

stelcodes opened this issue Aug 14, 2022 · 0 comments
Labels
enhancement New feature or request hammock time

Comments

@stelcodes
Copy link
Owner

Currently there is no way to template HTML and Markdown content. Adding an integration with Selmer could be amazing.

Ideas:

  • Use the page entry map as the Selmer context so HTML/Markdown can inline values straight from the Nuzzle config. Or have something like:
{:page <page-entry-map> :config <whole-config>}
  • Allow users to define their own filters in a config option map
:nuzzle/selmer
{:filter-fns {:embigenate my.ns.embigenate}}
@stelcodes stelcodes added enhancement New feature or request hammock time labels Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hammock time
Projects
None yet
Development

No branches or pull requests

1 participant