From: Kai Moritz Date: Sat, 6 Jun 2026 13:18:06 +0000 (+0000) Subject: Step 11: Hugo-Konfigurationsdateien entfernen X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=d8e7ad1ed97e91b464e702bc79f2704fb4b3096d;p=website Step 11: Hugo-Konfigurationsdateien entfernen Entfernt aus dem Astro-Branch: - hugo.yaml (Hugo-Konfiguration, nicht mehr benötigt) - archetypes/default.md (Hugo-Archetyp für neue Content-Dateien) - inventory.md (Migrations-Analyse-Dokument aus Schritt 1) Co-Authored-By: Claude Sonnet 4.6 --- diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 0d5eebd0..00000000 --- a/archetypes/default.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -date: '{{ .Date }}' -draft: true -title: '{{ replace .File.ContentBaseName "-" " " | title }}' ---- diff --git a/hugo.yaml b/hugo.yaml deleted file mode 100644 index b3e684a2..00000000 --- a/hugo.yaml +++ /dev/null @@ -1,32 +0,0 @@ -baseURL: https://juplo.de -security: - allowContent: - - "^text/" -disablePathToLower: true -copyright: Kai Moritz -languageCode: en-US -title: juplo -theme: hugo-juplo -taxonomies: - category: categories - tag: tags -params: - author: - email: kai@juplo.de - name: Kai Moritz - copyrightShort: mo - dateFormat: 02.01.2006 - description: Java bits from nerds for nerds -markup: - highlight: - codeFences: true - guessSyntax: true - style: paraiso-dark - linenos: true - goldmark: - renderer: - unsafe: true -mainSections: - - blog - - projects - - about diff --git a/inventory.md b/inventory.md deleted file mode 100644 index 5086400f..00000000 --- a/inventory.md +++ /dev/null @@ -1,194 +0,0 @@ -# Funktionsinventar: Hugo → Astro Migration - -## Content-Struktur - -### Seiten-Typen und Dateien - -| Typ | Pfad | Anzahl | Besonderheiten | -|-----|------|--------|----------------| -| Startseite | `content/_index.md` | 1 | HTML-Content, Shortcodes, explizite `url: /` | -| Blog-Index | `content/blog/_index.html` | 1 | Titel, weight | -| Blog-Jahres-Index | `content/blog/archive/YYYY/_index.md` | 8 | 2012–2021, `layout: year` | -| Blog-Artikel | `content/blog/archive/YYYY/*.md` | 75 | Explizite `url:` im Frontmatter (Flat-URL) | -| Projects-Index | `content/projects/_index.md` | 1 | HTML-Content, explizite `url: /projects/` | -| About-Sektion | `content/about/_index.html` | 1 | HTML-Content, `url: /about.html` | -| Impressum | `content/about/impressum/_index.html` | 1 | `url: /impressum.html` | -| Rechtliche Unterseiten | `content/about/impressum/*.html` | 6 | Datenschutz, AGB, Haftung, etc. | -| Contact | `content/about/contact.html` | 1 | `url: /contact.html` | - -### Content-Besonderheiten -- Blog-Posts haben **explizite Flat-URLs** im Frontmatter (`url: /post-slug/`), nicht hierarchisch -- Viele Seiten enthalten **rohen HTML**-Content (kein reines Markdown) -- Frontmatter enthält Legacy-Felder aus WordPress-Export (`post_id`, `guid`, `_edit_last`, etc.) -- Projects-Sektion enthält generierte Maven-Site-Dokumentation als statische HTML-Dateien - ---- - -## URL-Struktur - -| Route | Beschreibung | -|-------|--------------| -| `/` | Startseite | -| `/blog/` | Blog-Index (letzte 3 Posts + Jahresarchiv + Taxonomien) | -| `/blog/archive/` | Archiv-Übersicht | -| `/blog/archive/YYYY/` | Jahres-Archiv | -| `/post-slug/` | Einzelner Blog-Post (Flat-URL via Frontmatter) | -| `/projects/` | Projects-Index | -| `/hibernate-maven-plugin/` | Maven-Site-Doku (statisch, aus `static/`) | -| `/about.html` | About-Seite | -| `/impressum.html` | Impressum | -| `/contact.html` | Kontakt | -| `/categories/` | Kategorien-Übersicht | -| `/categories/TERM/` | Einzelne Kategorie | -| `/tags/` | Tags-Übersicht | -| `/tags/TERM/` | Einzelner Tag | - ---- - -## Taxonomien - -- **categories**: howto, tips, explained, … (ca. 3 Kategorien) -- **tags**: hibernate, java, maven, spring, docker, kafka, … (viele) - ---- - -## Shortcodes - -| Shortcode | Verwendung | Astro-Äquivalent | -|-----------|------------|------------------| -| `{{< recent-posts >}}` | Startseite: Liste der 5 neuesten Posts | Astro-Komponente mit `getCollection()` | -| `{{< marginalcontent-md >}}...{{}}` | Markdown-Content in Marginal-Bereich | Astro-Slot oder Props | -| `{{< marginalcontent-html >}}...{{}}` | HTML-Content in Marginal-Bereich | Astro-Slot oder Props | -| `{{< footerlinks >}}...{{}}` | Eigene Footer-Links (statt Standard) | Astro-Slot oder Props | - ---- - -## Layout-Struktur - -### HTML-Gerüst (aus `baseof.html`) - -``` -body#top.menu - div#page.cf - header#header ← Logo + Slogan - [breadcrumb] ← Pfad-Navigation (überschreibbar) - main.content.cf - article#content.main ← Haupt-Content (Block: article → title + content) - div.marginal - nav#nav ← Block: menu (Navigationsbaum) - [asides.m] ← Block: marginalcontent (Taxonomien, Custom) - footer#footer ← Copyright, Footer-Links, Layout-Switcher -``` - -### Layout-Varianten (data-layout auf ``) -- **classic**: Original-Layout (Standard) -- **resurrection**: Alternatives CSS-Layout -- **none**: Kein Layout-CSS - -Umschaltbar per Klick im Footer. Wert wird in `localStorage` gespeichert und beim Laden sofort gesetzt (via inline `