Skip to content
Honmaple
Documentation navigation

filter

On this page

Filter

Filter pages with a Pongo2 expression:

hooks:
  filter:
    enabled: true
    option:
      page_filter: "'emacs' in tags and not draft"

page_filter is compiled when the hook is initialized. Invalid syntax causes the build to fail rather than being ignored during page processing.