Skip to main content
HOOK AND FILTERS

[!WARNING] This documentation is under (re)construction. Check back later for changes and feel free to open an issue if you have questions or suggestions.


Hooks are listed in their order of appearance.

Hook File Runs Depends on Description
init partials/init.html 1 before anything else runs (before the pagination object is created)
init-end partials/init.html 1 after the pagination object is created and in scratch
setup _default/baseof.html 1 at the beginning of the main layout
body-start _default/baseof.html 1
body-pre-main _default/baseof.html 1
body-main-start _default/baseof.html 1
body-main-end _default/baseof.html 1
body-post-main _default/baseof.html 1
body-end-pre-script _default/baseof.html 1
body-end _default/baseof.html 1
teardown _default/baseof.html 1

In this section

  • Overview
  • Configuration
  • Developernotes — Setup Install this repository and all submodules via git clone –recurse-submodules https://gitlab.com/davidsneighbour/kollitsch.dev.git. If you have cloned the repository before reading this, run git submodule update –init –recursive to get the submodules up-to-date. Prepare the development environment Hugo (Installation instructions) Node.
  • Content — [!WARNING] This documentation is under (re)construction. Check back later for changes and feel free to open an issue if you have questions or suggestions. General notes Content Archetypes This website has the following archetypes with their respective front matters and features:
  • Hook and Filters — [!WARNING] This documentation is under (re)construction. Check back later for changes and feel free to open an issue if you have questions or suggestions. General notes Hooks are listed in their order of appearance. Hook File Runs Depends on Description init partials/init.
  • Troubleshooting — Inkscape Generating the component cards requires Inkscape and optipng. Install them with the following: bash COPY 1sudo apt install inkscape optipng
Back to top
Back Forward