Ananke Documentation
  • Get started
    • Choose an installation method
    • Install as a Hugo Module (recommended)
    • Install as a Git submodule
    • Upgrade from theNewDynamic to gohugo-ananke
  • Configuration
    • General configuration
    • Homepage
    • Menus
    • Social media networks
    • SEO
    • robots.txt and environments
    • Analytics
    • Multilingual and i18n
    • Configuration reference
  • Content
    • Front matter
    • Authors and read more links
    • Content types and archetypes
    • Images
    • Summaries and reading time
    • Taxonomies
    • Shortcodes
  • Customisation
    • Colours
    • Styles
    • Custom CSS
    • Page headers
    • Header layout and hooks
    • Comments
    • Overriding partials
    • Layout map
    • Hooks & filters
  • Examples
    • Minimal blog
    • Multilingual site
    • No-blog static site
    • External links
    • Add a LinkedIn icon
  • Help
    • Troubleshooting
    • Contributing to the documentation
    • Contributors
    • Developing across the Ananke repositories
Mastodon

Hooks & filters

since 2.17.0

Hooks and filters let you add markup to Ananke’s templates or change values in them without copying theme files into your project. If you are new to them, start with the introduction.

In this section

  • Introduction to hooks & filters

    How hooks and filters work, and how to add markup or change values without copying templates.

  • Hook examples

    Worked examples for the theme's hook points.

  • All hooks & filters

    The list of all hook points in the theme templates.

Ananke Documentation © Ananke Documentation 2026
Mastodon