--- title: "Hooks" date: "2024-10-6" summary: "Layout hooks" description: "Layout hooks" toc: false readTime: false autonumber: true math: false showTags: false --- Hooks allow to customize layouts by injecting custom code at specific points in the layout. Hooks are defined in the `layouts/partials/hooks` directory. The following hooks are currently available: - `head_start` is inserted at the beginning of the `
` tag. - `head_end` is inserted at the end of the `` tag. - `body_end` is inserted at the end of the `` tag. - `footer_start` is inserted at the beginning of the footer. To create a hook, add a file named `