]> juplo.de Git - website/commitdiff
LÖSUNG: Wenn expizit ein Pfad spezifiziert wird sollte dieser auf `/` enden
authorKai Moritz <kai@juplo.de>
Wed, 22 Apr 2026 13:40:22 +0000 (15:40 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 29 Apr 2026 11:17:59 +0000 (13:17 +0200)
* Wenn das letzte Pfad-Segment einen Fehler enthält, wird HTML nicht mehr
  automatisch als das gewünschte Ausgabe-Format gewählt
** Siehe dazu `versioned/0.2/_index.html`
** Dann müsste das Ausgabe-Format explizit mit `outputs.html` gesetzt werden
* Wenn der Pfad mit einem `/` endet, wird HTML automatisch als Ausgabe-
  Format gewählt
** Siehe dazu `versioned/0.1/_index.html`
** Das `outputs.html` ist dann nicht mehr nötig!
* Das `outputs.html` ist allerdings weiter für die Seite "Project Reports" nötig
** Hier ist noch nicht ganz klar, warum
** Die Seite "Project Info" unterscheidet sich kaum, benötigt die Angabe aber nicht
** Ggf. liegt es daran, dass unter `/project-reports/` weitere Sektionen liegen

exampleSite/content/projects/hibernate-maven-plugin/2.1.1/_index.html
exampleSite/content/projects/hibernate-maven-plugin/2.1.2-SNAPSHOT/project-reports/_index.html
exampleSite/content/projects/versioned/0.1/_index.html
exampleSite/content/projects/versioned/0.2/_index.html

index 6c173ec2a1b81816bbe2b6399ce734f0a3adcdef..440a67fee60a5b6f665300738da47e8b062fec42 100644 (file)
@@ -1,8 +1,6 @@
 ---
 title: Hibernate Maven Plugin
 weight: 0
-outputs:
-  - html
 url: /hibernate-maven-plugin/
 layout: article
 params:
index 13fc14e5cb379059737e862252af6022ec59c078..580d95885d2b277f566fc57f6aade1d73a3b8736 100644 (file)
@@ -1,6 +1,8 @@
 ---
 title: Project Reports
 weight: 12
+outputs:
+  - html
 url: /projects/hibernate-maven-plugin/2.1.2-SNAPSHOT/project-reports.html
 layout: article
 params:
index cff32f30f34f7bd22653299afd0c6236c9f5634c..5ad41e27dcb93eaa3a69c9de0b7e715b8488316d 100644 (file)
@@ -1,6 +1,5 @@
 ---
 title: Versioned Project -- 0.1
-outputs:
-  - html
-url: /versioned-0.1
+url: /versioned-0.1/
 ---
+<p>Hallo Welt!</p>
index 0476d601061e50cf1d810e16ba1dccb6d12401aa..44588b831768a7ad90b4adad912c4d3e11484efe 100644 (file)
@@ -1,3 +1,4 @@
 ---
 title: Versioned Project -- 0.2
+url: /projects/versioned/0.2/
 ---