Complete frontend overhaul with WCAG 2.2 accessibility
Design System: - Custom Hugo theme "swissfini" with editorial aesthetic - CSS custom properties for comprehensive theming - Light, Dark, and High Contrast themes - Print-optimized styles Accessibility Self-Service Controls: - Font size adjustment (5 levels: 75%-150%) - Theme toggle (Light/Dark/High Contrast/System) - Dyslexia-friendly font (OpenDyslexic) - Line spacing control (4 levels) - Reduced motion toggle - Reading width control (3 levels) - Enhanced focus indicators - All preferences persisted via localStorage Templates & Components: - Base layout with skip-links and accessibility panel - Article template with drop caps and blockquotes - Irony box and conclusion shortcodes - Responsive header with mobile navigation Content: - Migrated SCION vs SD-WAN analysis from HTML - Homepage teaser with paywall-style CTA 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
41
hugo.toml
41
hugo.toml
@@ -1,3 +1,40 @@
|
||||
baseURL = 'https://example.org/'
|
||||
baseURL = 'https://swissfini.sh/'
|
||||
languageCode = 'en-us'
|
||||
title = 'My New Hugo Site'
|
||||
title = 'SwissFini.sh'
|
||||
theme = 'swissfini'
|
||||
|
||||
[params]
|
||||
description = "Investigative analysis of Swiss tech nationalism"
|
||||
author = "SwissFini Editorial"
|
||||
tagline = "When Swiss-made becomes Swiss-made-up"
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
[markup.highlight]
|
||||
style = 'dracula'
|
||||
lineNos = false
|
||||
lineNumbersInTable = true
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS"]
|
||||
section = ["HTML", "RSS"]
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
name = "Home"
|
||||
url = "/"
|
||||
weight = 1
|
||||
[[menu.main]]
|
||||
name = "Articles"
|
||||
url = "/articles/"
|
||||
weight = 2
|
||||
[[menu.main]]
|
||||
name = "About"
|
||||
url = "/about/"
|
||||
weight = 3
|
||||
|
||||
Reference in New Issue
Block a user