Skip to content

Add Selmer integration for content preprocessing #93

Description

@stelcodes

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}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions