Commit Graph
14 Commits
Author SHA1 Message Date
danielandClaude Sonnet 5 13fb67a0f8 Add resource-tiles shortcode
Displays a page's file resources as a responsive grid of cards with a
thumbnail (explicit param, name-matched image, or a generic file icon),
title, size and download link. Meant for a downloads page offering a
handful of PDFs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 21:24:38 +02:00
danielandClaude Sonnet 5 071ee344a3 Support one level of dropdown menus in the navbar
A `main` menu entry with child entries (others with `parent:` set) is
now rendered as a Bootstrap dropdown; flat entries are unchanged.
Active-state highlighting is trailing-slash tolerant and marks the
dropdown parent active when one of its children is the current page.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 17:26:39 +02:00
danielandClaude Sonnet 5 ec9cba0555 Add lead shortcode; make banner a full-bleed hero image
- lead: wraps content in a Bootstrap .lead paragraph (moved from the
  ctsmockup site, where {.lead} could not target a paragraph).
- banner: resolves src as a page/global resource or base-URL-aware
  link, and spans the full viewport width via symmetric
  calc(50% - 50vw) margins while page content stays in .container.
  Optional height crops via object-fit: cover. A banner that starts a
  page's content is pulled flush against the navbar.
- html { overflow-x: hidden } to absorb the 100vw scrollbar overhang.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 09:53:20 +02:00
danielandClaude Sonnet 5 55308f7703 Respect base URL for nav logo; prefer logo.svg over favicon.svg
Reference the navbar brand image through relURL so it resolves
correctly when the site is served from a non-root base URL. Use
static/img/logo.svg when present, falling back to img/favicon.svg.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 09:44:44 +02:00
danielandClaude Sonnet 5 fc8023961a Fall back to page or site Author param in footer copyright.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-08 13:40:30 +02:00
daniel d9febf84d8 Add scripts_extra.html dummy file. 2026-08-08 12:12:11 +02:00
daniel 6d3fb4613b Use 404.svg image if available. 2026-06-28 14:50:53 +02:00
daniel ba12b11f03 Add 404 page. 2026-06-28 14:08:17 +02:00
daniel b024424405 Add extra_head block. 2026-06-27 17:25:22 +02:00
daniel 0f3258f2db Remove whitespace in meta partial. 2026-06-24 16:10:29 +02:00
daniel 8d367dfa79 Add human file size partial. 2026-06-24 16:10:17 +02:00
daniel bf6ae71511 Ensure context in partial. 2026-06-16 20:54:02 +02:00
daniel 3ac7f0fb8e Remove remnants of hugo_cookie_consent. 2026-06-16 17:14:18 +02:00
daniel b784459d87 Initial working draft. 2026-06-16 16:45:32 +02:00