From: Kai Moritz Date: Mon, 7 Mar 2022 22:14:32 +0000 (+0100) Subject: Kanonische Links über _canonical realisiert X-Git-Url: https://juplo.de/gitweb/?p=website;a=commitdiff_plain;h=HEAD;hp=e591314b95861c3bb711c884c741d8bc620ce0f7 Kanonische Links über _canonical realisiert --- diff --git a/TODO.txt b/TODO.txt index 278b0f1f..f81c8c7c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,17 @@ +DONE: + +* maven-thymeleaf-skin generiert _immer_ Pfade der Art PFAD/VERSION +* Die Projekte kommen unter /projects/NAME/VERSION zu liegen +* Die URI der Einstiegsseite muss in der sitemap.json eingetragen sein +** /projects/NAME/VERSION/index.html unter `_titles` +** /projects/NAME/VERSION/index.html als Kind von `/projects.html` +** Passende Breadcrumbs für die Seite nicht vergessen! +** *Achtung:* Menü wird bei Fehlern nicht korrekt (vollständig!) generiert +* Das Mapping von /NAME/ auf /projects/NAME/VERSION/index.html in der + Konfiguration des Webservers muss angepasst werden - Vorteil: + Neue Doku kann deployed und getestet werden, bevor sie sichtbar + gemacht werden muss. + +TODO: + * Keine hartkodierten Links mit juplo.de im Content!! -* Links mit Version in thymeleaf-skin generieren -* ABER: Für oberste Ebene nicht?!? -* Nicht bis ins letzte Detail automatisieren: Letzte Anpassungen von Hand - (Z.B., zusätzliche/geänderte Links nachdem neue Version herausgekommen ist?) -* JSON für Menü-Generierung funktioniert nicht! diff --git a/dist/potemkin.html b/dist/potemkin.html new file mode 100644 index 00000000..5a113d72 --- /dev/null +++ b/dist/potemkin.html @@ -0,0 +1,31 @@ + + + + Projects - Potemkinsche Dörfer! + + + + + + + + + +
+

Projects - Potemkinsche Dörfer!

+ +
+ + diff --git a/dist/potemkin.json b/dist/potemkin.json index c3765e93..f89bba33 100644 --- a/dist/potemkin.json +++ b/dist/potemkin.json @@ -71,10 +71,6 @@ ] }, "_crumbs": { - "/projects.html": [ - "/index.html", - "/projects.html" - ], "/potemkin/fix-swf/overview.html": [ "/index.html", "/projects.html", diff --git a/dist/projects.html b/dist/projects.html index 5a113d72..d80d751e 100644 --- a/dist/projects.html +++ b/dist/projects.html @@ -5,7 +5,7 @@ uri='/projects.html', title=~{:: title}, maincontent=~{:: .maincontent}, - marginalcontent=~{:: .marginalcontent}, json='MERGE:/potemkin.json')}" + marginalcontent=~{:: .marginalcontent})}" > Projects - Potemkinsche Dörfer! diff --git a/dist/sitemap.json b/dist/sitemap.json index 2e468158..e97ceff8 100644 --- a/dist/sitemap.json +++ b/dist/sitemap.json @@ -3,6 +3,9 @@ "/index.html": "Home", "/blog/": "Blog", "/projects.html": "Projects", + "/projects/hibernate-maven-plugin/2.1.2-SNAPSHOT/index.html": "Hibernate Maven Plugin", + "/projects/http-resources/2.0.0/index.html": "HTTP resources", + "/projects/maven-thymeleaf-skin/1.1.0/index.html": "Maven Thymeleaf Skin", "/about.html": "About", "/expertise.html": "Expertise", "/references.html": "References", @@ -24,10 +27,9 @@ ], "/blog/": [], "/projects.html": [ - "/hibernate-maven-plugin/index.html", - "/projects/hibernate-maven-plugin-2.1.2-SNAPSHOT/index.html", - "/http-resources/2.0.0/index.html", - "/maven-thymeleaf-skin/1.1-SNAPSHOT/index.html" + "/projects/hibernate-maven-plugin/2.1.2-SNAPSHOT/index.html", + "/projects/http-resources/2.0.0/index.html", + "/projects/maven-thymeleaf-skin/1.1.0/index.html" ], "/about.html": [ "/expertise.html", @@ -47,6 +49,25 @@ "/index.html": [ "/index.html" ], + "/projects.html": [ + "/index.html", + "/projects.html" + ], + "/projects/hibernate-maven-plugin/2.1.2-SNAPSHOT/index.html": [ + "/index.html", + "/projects.html", + "/projects/hibernate-maven-plugin/2.1.2-SNAPSHOT/index.html" + ], + "/projects/http-resources/2.0.0/index.html": [ + "/index.html", + "/projects.html", + "/projects/http-resources/2.0.0/index.html" + ], + "/projects/maven-thymeleaf-skin/1.1.0/index.html": [ + "/index.html", + "/projects.html", + "/projects/maven-thymeleaf-skin/1.1.0/index.html" + ], "/about.html": [ "/index.html", "/about.html" @@ -109,5 +130,6 @@ "/index.html", "/templates/error.html" ] - } + }, + "_canonical": {} } diff --git a/dist/templates/layout.html b/dist/templates/layout.html index 16da131a..7175241e 100644 --- a/dist/templates/layout.html +++ b/dist/templates/layout.html @@ -5,17 +5,17 @@ th:fragment="layout(uri,maincontent)" thymeproxy:variables="SET:sitemap.json" > - + juplo - BASISTEMPLATE - + +