Merge branch 'main' into 40c3
Resolves conflicts in content/{de,en}/_index.md: keeps the 40C3 launch
text from 40c3 over main's "coming soon" teaser, and takes main's
"Hackertours" spelling and front matter (#68).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
32762bc22f
1 changed files with 507 additions and 100 deletions
20
README.md
20
README.md
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue