Initialize Hugo website with custom infinite-scroll theme
- Set up complete Hugo project structure with bilingual support (EN/DE) - Create custom pyx-theme with modern, clean design - Implement infinite scrolling single-page layout with sections - Style with white background, black text, and blue accent color - Add responsive navigation with smooth anchor scrolling - Move logo assets to static/images directory - Configure i18n translations for English and German (Swiss spelling) - Add company data structure in data/company.yaml - Create archetypes for consistent content frontmatter - Update CLAUDE.md with comprehensive project documentation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
23
themes/pyx-theme/layouts/partials/header.html
Normal file
23
themes/pyx-theme/layouts/partials/header.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<header>
|
||||
<nav>
|
||||
<a href="{{ "/" | relLangURL }}" class="logo">
|
||||
<img src="/images/pyx_hires.png" alt="{{ .Site.Title }}">
|
||||
</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="{{ "/" | relLangURL }}#home">{{ i18n "home" }}</a></li>
|
||||
<li><a href="{{ "/" | relLangURL }}#about">{{ i18n "about" }}</a></li>
|
||||
<li><a href="{{ "/" | relLangURL }}#services">{{ i18n "services" }}</a></li>
|
||||
<li><a href="{{ "/" | relLangURL }}#projects">{{ i18n "projects" }}</a></li>
|
||||
</ul>
|
||||
|
||||
<!-- Language switcher -->
|
||||
<ul class="language-switcher">
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
Reference in New Issue
Block a user