mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Kamisama
3 days ago 62aa99f85bc98ca97ca4f798dfc8b0d507c0fb4b
refs
author Kamisama <166204452+NITHINSPACETIME@users.noreply.github.com>
Sunday, January 18, 2026 05:54 +0100
committer GitHub <noreply@github.com>
Sunday, January 18, 2026 05:54 +0100
commit62aa99f85bc98ca97ca4f798dfc8b0d507c0fb4b
tree f092f5628224a67bdfa6f802c350f98a49ac306e tree | zip | gz
parent 6846b1352d9fd5b5c334d5fe626f8b1041b4a49f view | diff
feat: add dynamic identifiers to body and article classes per page (#887)

This PR adds identifiers for the current post and page types to the body
and article tags as requested in #815.

It allows users to style specific pages based on their content slug or
page type (e.g., `is-page`, `is-section`, `page-about`).

Closes #815
3 files modified
38 ■■■■ changed files
layouts/baseof.html 17 ●●●● diff | view | raw | blame | history
layouts/page/single.html 10 ●●●● diff | view | raw | blame | history
layouts/single.html 11 ●●●● diff | view | raw | blame | history