- 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>
54 lines
1.2 KiB
Markdown
54 lines
1.2 KiB
Markdown
# Pyx Engineering AG Website
|
|
|
|
Corporate website for Pyx Engineering AG built with Hugo.
|
|
|
|
## Development
|
|
|
|
### Prerequisites
|
|
- Hugo v0.123.7+ (Extended version recommended)
|
|
|
|
### Local Development
|
|
```bash
|
|
# Start development server
|
|
hugo server -D
|
|
|
|
# Build site
|
|
hugo
|
|
|
|
# Create new content
|
|
hugo new services/my-service.md
|
|
hugo new projects/my-project.md
|
|
```
|
|
|
|
### Project Structure
|
|
- `/content/` - Site content (Markdown files)
|
|
- `/content/services/` - Service pages
|
|
- `/content/projects/` - Project/reference pages
|
|
- `/content/about/` - About pages
|
|
- `/data/company.yaml` - Company information (address, phone, UID)
|
|
- `/themes/pyx-theme/` - Custom Hugo theme
|
|
- `/static/images/` - Logo and static assets
|
|
- `/i18n/` - Translation files (English/German)
|
|
|
|
### Languages
|
|
The site supports:
|
|
- English (default)
|
|
- German (Swiss spelling - use "ss" instead of "ß")
|
|
|
|
### Content Guidelines
|
|
All content pages should include frontmatter:
|
|
```yaml
|
|
---
|
|
title: "Page Title"
|
|
description: "SEO description"
|
|
date: 2026-02-08
|
|
thumbnail: "image.jpg"
|
|
---
|
|
```
|
|
|
|
## Deployment
|
|
Manual deployment - build with `hugo` and upload `/public/` directory to web server.
|
|
|
|
## Repository
|
|
https://git.jammann.ch/joe/pyx-website
|