From: Kai Moritz Date: Mon, 22 Dec 2025 21:13:35 +0000 (+0100) Subject: Layout `home` in `article` umbenannt, da `home` nicht wiederverwendbar X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=179fb9b3322adf2a2ab3dfd959dd2d2e5127e7ff;p=website Layout `home` in `article` umbenannt, da `home` nicht wiederverwendbar --- diff --git a/content/about/contact.html b/content/about/contact.html index a4edb044..dd33b75f 100644 --- a/content/about/contact.html +++ b/content/about/contact.html @@ -1,6 +1,6 @@ --- title: "Contact" -layout: home +layout: article url: /contact.html weight: 10 --- diff --git a/exampleSite/content/_index.html b/exampleSite/content/_index.html index 85cd6ae8..edc7f1f4 100644 --- a/exampleSite/content/_index.html +++ b/exampleSite/content/_index.html @@ -1,5 +1,6 @@ --- title: "Home" +layout: article ---
diff --git a/layouts/article.html b/layouts/article.html new file mode 100644 index 00000000..57857c61 --- /dev/null +++ b/layouts/article.html @@ -0,0 +1,3 @@ +{{ define "article" }} + {{ .Content }} +{{ end }} diff --git a/layouts/home.html b/layouts/home.html deleted file mode 100644 index 57857c61..00000000 --- a/layouts/home.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "article" }} - {{ .Content }} -{{ end }}