Commit graph hackertours/layouts/_shortcodes
Author SHA1 Message Date
213e58256f
feat: Shows events as cards on the home page
All checks were successful
/ build (pull_request) Successful in 1m16s
/ accessibility (pull_request) Successful in 2m1s
/ cleanup-staging (pull_request) Successful in 27s
Replaces the line of links to previous events with cards after the 40C3
start page: each card has the event's logo (designs.events.ccc.de) in its
heading bar, the motto, full name, dates and venue. 40C3 is greyed out as
in progress; the other cards link to their tours.

The cards reuse the theme's own colours -- the link colour for the motto
and the heading and text colours for the rest -- on the hairline border
and 0.25rem corners of the start page's cards. The logo credits that a
licence asks for are shown in the page footer.

The events shortcode reads data/events.yaml; the README documents it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-09 04:06:47 +01:00
311a3b1370 Fix orientation of thumbnails
All checks were successful
/ build (push) Successful in 1m14s
/ accessibility (push) Successful in 2m7s
(cherry picked from commit f6a698a64b)
2026-10-17 10:58:12 +02:00
124bfaed67 Add an image gallery shortcode 2026-10-17 10:16:37 +02:00
71098eb6d7 Add accessilbilty check and fixes
Some checks failed
/ build (push) Successful in 15s
/ accessibility (push) Failing after 23s
2026-10-17 10:03:54 +02:00
c4ee65b9af Schedule: optional title per tour and sold-out status 2026-10-17 10:00:24 +02:00
79eac5c7c5 Make sure missing data is handled gracefully
All checks were successful
/ build (pull_request) Successful in 23s
/ cleanup-staging (pull_request) Successful in 3s
2026-10-16 18:58:29 +02:00
c0dfc9131d Attempt a shortcode for the schedule overview
All checks were successful
/ build (pull_request) Successful in 25s
2026-10-16 18:53:55 +02:00
5c1b60fa3a Upgrade to Hugo 0.16x and zen theme v7.1.0
All checks were successful
/ build (pull_request) Successful in 32s
/ cleanup-staging (pull_request) Successful in 3s
- Bump themes/zen from v5.7.0 to v7.1.0 (vanilla CSS, no libsass).
- Move layouts to Hugo's new template structure (_default -> root,
  index.html -> home.html, shortcodes -> _shortcodes).
- Replace deprecated language API in templates (Locale, Direction, Name)
  and sync base templates and mobile menu with theme v7.
- Config: languageName/languageCode -> label/locale; move copyright to
  the top-level key the v7 footer reads.
- Port _custom.scss to assets/css/_custom.css and map page/body
  backgrounds to v7's --color-body-bg/--color-page-bg.
- CI: build with hugomods/hugo:0.165.0.
2026-10-16 15:07:25 +02:00