Keeps logo size across languages and resolves mobile menu overlap (#68)
All checks were successful
/ build (push) Successful in 1m14s
/ accessibility (push) Successful in 2m2s

## Header

![image](/attachments/dd741d30-ffbe-49ad-b717-cd3e7bd46bcb)

## Mobile menu
| | |
| --- | --- |
| ![localhost_8888_en_ (1)](/attachments/ce78aa3d-b229-457a-add5-0d5e3ddc71ec) | ![localhost_8888_en_](/attachments/ae1832d5-605d-4bd5-b41a-b7fe9d6e14e5) |

Reviewed-on: #68
This commit is contained in:
Vincent Mahnke 2026-11-07 21:28:53 +01:00 • committed by stb
commit 75a8d446e4

View file

@ -16,6 +16,26 @@ hugo server --buildFuture --buildDrafts
Then open http://localhost:1313
The header uses the logo dimensions in `hugo.yaml` in both languages, without
shrinking the logo to fit the text. With JavaScript enabled, screens up to 666px
wide use a flat, borderless full-width menu button at the bottom and a scrollable
panel above it. The language link spans the panel's content width, includes the
translation icon, and uses the same font size as the menu links.
The page reserves space for the button so it does not cover content.
## Brand spelling check
Hugo builds check content source lines for the name `Hackertours` in any other
casing and report the file and line as build errors for pages included in the
build. URLs, email addresses, social handles, Matrix room addresses and
Markdown link destinations are excluded. Commented-out content is checked too,
so it is ready to publish.
For an intentional exception, add `<!-- hackertours-lint-ignore -->` at the
end of a Markdown line, or `# hackertours-lint-ignore` at the end of a YAML
front matter line. This ignores that entire source line, so keep unrelated
occurrences on other lines.
## Shortcode: Language badge
Use the `lang` shortcode to mark whether a tour is in German, English or bilingual. It renders a small superscript badge next to the text, with details when hovered over or parsed by a screenreader.