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 events shortcode reads data/events.yaml; the README documents it.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The headings jumped when Jersey 10 arrived after the first paint: the monospace fallback is much wider, so the heading chips changed their width, and the page transition made it visible on every language switch. Reproduced with revalidated or slow fonts (hugo server sends no cache headers, so it revalidates them on every navigation) in Chromium, WebKit and, on cold loads, Firefox. In Safari the body text shifted as well, because its ui-monospace is the wider SF Mono.
- Embeds the Latin subset of Jersey 10 in the fonts stylesheet.
- Preloads Hack Regular and Bold.
- Generates the @font-face rules and the preload links from one fingerprinted template (assets/css/fonts.css.tmpl, head/fonts.html), so their URLs match and also work below a sub path like the PR previews.
- Drops ui-monospace and SF Mono from the body font stack: Menlo has the same width as Hack.
Frames with shifted elements while switching language on the tours page, with revalidated or slow fonts: 9 to 92 before, none after (Chromium and WebKit, desktop and mobile). Firefox cold loads: up to 48 before, none painted after. Rendering after loading is unchanged.
Trade-off: the first paint of a cold load on a slow connection (Slow 4G) is about 0.26 s later; later navigations are not affected.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Light scheme: background #ebedf0 and text #001300, the colours the 40C3 info
pages (events.ccc.de/congress/2026/infos) use. Their black link boxes and
per-level heading colours are not copied; links, headings and chips follow the
styleguide as before. The theme-color metas, the web manifest and the footer
logo use the same colours.
- Menu: the four entries are full-width buttons in a row below the header again
(outlined like the styleguide's quiet chips; the current page, hover and
focus are filled green).
- Language link: back on the right of the header instead of in the menu bar.
layouts/baseof.html, layouts/_partials/menu.html and layouts/home-baseof.html
are main's again, so the theme only adds files under layouts/.
- README: the language switch is in the header, not in the menu.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Rebased onto main after the bottom navigation bar (#68). Main's markup and behaviour win; this commit only contributes the 40c3 look.
- Jersey 10 and Hack fonts, the 40c3 palette and light/dark schemes, theme-color metas, web manifest and the 40c3 logo/footer.
- Header: site name as green chip; nav row with the language switch as amber chip. The tagline stays out of the header, as in main.
- Mobile (up to 666px): main's bottom navigation bar is kept and restyled (2px borders and dividers, current page green, language switch amber, visible keyboard focus). The old button-and-sheet styling is dropped.
- Start pages: 40C3 heading; stale commented-out 39C3 block removed.
- layouts/home-baseof.html removed; it was identical to baseof.html.
- Removed the leftover 'h2 a' margin that made the news list 2px wider than a 390px viewport.
- README: describe the bottom navigation bar.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- 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.
* Add a post date to each post
* Do not show the post date for tours
* Only show posts tagged "current-event" on the home page (hiding 37c3 entries)
* Use a custom template for sorting the summary list by title (instead of the default by date)