Skip to content

chore: standardize Hextra navbar and footer with BypassNRO - #119

Merged
Stensel8 merged 2 commits into
mainfrom
chore/standardize-hextra-navbar-footer
Sep 2, 2026
Merged

chore: standardize Hextra navbar and footer with BypassNRO#119
Stensel8 merged 2 commits into
mainfrom
chore/standardize-hextra-navbar-footer

Conversation

@Stensel8

@Stensel8 Stensel8 commented Sep 2, 2026

Copy link
Copy Markdown
Member

What

Brings the shared Hextra navbar/footer partial set (from BypassNRO) into this repo so every THectic project site renders the same header and footer, and a new repo can drop the same four files in unchanged.

Shared partials (identical to BypassNRO)

File Change
_partials/navbar-title.html THectic monogram tile → thectic.nl, now with a GitHub-style hover card ("THectic") that fades in on hover/focus. Wordmark still links to this site's home.
_partials/custom/head-end.html new — plain CSS for the hover card (.thectic-home* prefix), injected into <head>. Kept out of custom.css so the header is a self-contained drop-in. Light/dark aware, respects prefers-reduced-motion.
_partials/footer.html override that drops the footer's duplicate language/theme switches (both already in the navbar) — replaces the display:none hack in custom.css.
_partials/custom/footer.html © <year> THecticthectic.nl, matching BypassNRO and THectic.nl's own footer. Was By Sten Tijhuis.

hugo.toml

  • disableHugoGeneratorInject = true (drops the tab-indented <meta name=generator>)
  • per-language locale (en-US / nl-NL)
  • 'RSS' added to disableKinds

to line up with THectic.nl / BypassNRO / Hagmolenpups.

Note

The footer credit changes from the personal By Sten Tijhuis to the org-standard © THectic. Shout if you'd rather keep the personal line — that just means this repo diverges from the shared partial.

Verified

  • hugo --gc --minify --panicOnWarning clean
  • lychee internal-link check: 0 errors
  • hover card checked against the real Hextra CSS bundle in a standalone preview (light + dark)

Adopt the shared navbar/footer partial set so a new THectic project repo can
drop the same files in unchanged:

- navbar-title.html: THectic monogram tile (-> thectic.nl) plus a GitHub-style
  hover card naming the destination; wordmark still links to this site's home.
- custom/head-end.html (new): plain-CSS styling for that hover card, kept out of
  the repo's custom.css so the header is a self-contained drop-in.
- footer.html: override that drops the footer's duplicate language/theme
  switches (both already live in the navbar). Replaces the display:none hack in
  custom.css.
- custom/footer.html: "(c) <year> THectic" -> thectic.nl, matching BypassNRO and
  THectic.nl's own footer (was "By Sten Tijhuis").

hugo.toml: disableHugoGeneratorInject, per-language locale, and RSS in
disableKinds, to match the other THectic Hextra repos.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 2, 2026 19:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Adopts the approach from BypassNRO#27: the `hx:` utility classes this
partial used (gap-2.5, hover:opacity-80, shrink-0, ...) are not all in
Hextra's precompiled bundle, and Hextra never reruns Tailwind against the
site's own templates, so they silently compiled to nothing — no gap, no
hover fade.

- navbar-title.html: .brand-lockup / .brand-mark / .brand-home structure,
  byte-identical to BypassNRO.
- src/assets/css/custom.css: the .brand-* rules and the hover-card styling
  as plain CSS, replacing _partials/custom/head-end.html (deleted).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Stensel8 Stensel8 self-assigned this Sep 2, 2026
@Stensel8
Stensel8 merged commit c16e94d into main Sep 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants