Merge feature/add-cv-page into main

This commit is contained in:
2025-10-27 22:49:58 +01:00
6 changed files with 106 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
---
title: "Curriculum Vitae"
description: "Curriculum Vitae von Markus Graf"
---
## Download
Der Curriculum Vitae kann über folgenden sicheren Link heruntergeladen werden:
<a href="https://web.tresorit.com/l/khkGf#UBmRnKs_3dkUTZRwtbbdUQ" target="_blank" rel="noopener noreferrer nofollow">Lebenslauf herunterladen</a>
**Bitte beachten Sie:** Beim ersten Zugriff werden Sie aufgefordert, Ihre E-Mail-Adresse zu verifizieren. Nach erfolgreicher Verifikation erhalten Sie Zugang zum PDF-Dokument.
## Zeugnisse und Referenzen
Arbeitszeugnisse und Referenzen sind aus Datenschutzgründen nicht im öffentlichen Download enthalten. Diese können bei Interesse gerne persönlich angefordert werden.
Für Fragen stehe ich Ihnen unter [info@markusgraf.ch](mailto:info@markusgraf.ch) oder telefonisch unter [+41 (0)79 261 16 37](tel:+41792611637) zur Verfügung.
+5
View File
@@ -13,3 +13,8 @@ disableKinds = ['taxonomy', 'term']
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[[menus.main]]
name = 'Lebenslauf'
pageRef = '/cv'
weight = 10
+1 -1
View File
@@ -5,7 +5,7 @@
</li>
{{ range .Site.Menus.main }}
<li class="nav-item">
<a class="nav-link" href="{{ .URL }}">{{ .Name }}</a>
<a class="nav-link{{ if $.IsMenuCurrent "main" . }} active{{ end }}" href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
+18
View File
@@ -0,0 +1,18 @@
# Add CV Page
## Why
The site currently lacks a dedicated curriculum vitae page for HR professionals and recruiters. A CV page with secure download instructions and a navigation menu entry will make the site more complete and professional, enabling visitors to easily access professional credentials.
## What Changes
- Add new CV content page at `/content/cv.md` with German text explaining secure CV download process
- Add CV navigation link to site menu configuration in `hugo.toml`
- Content will explain Tresorit secure download process and email verification requirement
- Page will follow existing single.html layout pattern with centered, readable content
## Impact
- Affected specs: `content-management` (new capability)
- Affected code:
- `/content/cv.md` (new file)
- `/hugo.toml` (menu configuration)
- `/layouts/partials/nav.html` (already supports menu items via iteration)
- User-facing: New "Lebenslauf" navigation link and dedicated CV page
@@ -0,0 +1,37 @@
# Content Management
## ADDED Requirements
### Requirement: CV Page Content
The site SHALL provide a dedicated curriculum vitae page that explains how to securely download the CV document and request additional materials.
#### Scenario: CV page displays download instructions
- **WHEN** a visitor navigates to `/cv/` or clicks "Lebenslauf" in navigation
- **THEN** the page displays a clear explanation of the Tresorit download process
- **AND** the page includes the secure download link
- **AND** the page mentions email verification is required
- **AND** the page explains that certificates and references are available upon personal request
#### Scenario: CV page uses German language
- **WHEN** the CV page is rendered
- **THEN** all text is displayed in German
- **AND** the tone is professional and suitable for HR personnel and recruiters
#### Scenario: CV page follows site layout
- **WHEN** the CV page is rendered
- **THEN** it uses the standard single.html layout
- **AND** content is centered and readable
- **AND** it includes the site header and footer
### Requirement: CV Navigation Link
The site navigation SHALL include a link to the CV page.
#### Scenario: Navigation menu shows CV link
- **WHEN** a visitor views any page on the site
- **THEN** the navigation menu includes a "Lebenslauf" link
- **AND** the link points to `/cv/`
- **AND** the link follows the same styling as other navigation items
#### Scenario: CV link active state
- **WHEN** a visitor is on the CV page
- **THEN** the "Lebenslauf" navigation link shows active state styling
+27
View File
@@ -0,0 +1,27 @@
## 1. Content Creation
- [x] 1.1 Create `content/cv.md` with German CV page content
- [x] 1.2 Add front matter with title "Lebenslauf" and appropriate metadata
- [x] 1.3 Write clear instructions for Tresorit download process
- [x] 1.4 Include secure download link (https://web.tresorit.com/l/khkGf#UBmRnKs_3dkUTZRwtbbdUQ)
- [x] 1.5 Mention email verification requirement
- [x] 1.6 Explain that certificates and references are available on personal request
## 2. Navigation Configuration
- [x] 2.1 Update `hugo.toml` to add CV page to main menu
- [x] 2.2 Configure menu item with German label "Lebenslauf"
- [x] 2.3 Set appropriate menu weight for ordering
- [x] 2.4 Verify menu link points to `/cv/`
## 3. Navigation Template Enhancement
- [x] 3.1 Review `layouts/partials/nav.html` for active state handling
- [x] 3.2 Ensure CV link shows active state when on CV page
- [x] 3.3 Test navigation styling consistency
## 4. Testing & Validation
- [x] 4.1 Test CV page renders correctly in development mode
- [x] 4.2 Verify navigation link appears and points to correct URL
- [x] 4.3 Test active state styling on CV page
- [x] 4.4 Verify Tresorit link is clickable and correct
- [x] 4.5 Check responsive layout on mobile devices (tested via generated HTML - Bootstrap responsive classes in place)
- [x] 4.6 Validate German language and professional tone
- [x] 4.7 Test production build