]> juplo.de Git - website/commitdiff
Layout `home` in `article` umbenannt, da `home` nicht wiederverwendbar
authorKai Moritz <kai@juplo.de>
Mon, 22 Dec 2025 21:13:35 +0000 (22:13 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 22 Dec 2025 21:58:35 +0000 (22:58 +0100)
content/about/contact.html
exampleSite/content/_index.html
layouts/article.html [new file with mode: 0644]
layouts/home.html [deleted file]

index a4edb044796e022a5fbca99be9d5c0f4ed0455cf..dd33b75fa4cfe4407c6a5430279d224382c93042 100644 (file)
@@ -1,6 +1,6 @@
 ---
 title: "Contact"
-layout: home
+layout: article
 url: /contact.html
 weight: 10
 ---
index 85cd6ae85a1e68128c9f65fd025bb1d3fff37662..edc7f1f44e49f44ebf0612df020eb457ea405324 100644 (file)
@@ -1,5 +1,6 @@
 ---
 title: "Home"
+layout: article
 ---
       <div class="pack bg cf">
         <div class="p right">
diff --git a/layouts/article.html b/layouts/article.html
new file mode 100644 (file)
index 0000000..57857c6
--- /dev/null
@@ -0,0 +1,3 @@
+{{ define "article" }}
+  {{ .Content }}
+{{ end }}
diff --git a/layouts/home.html b/layouts/home.html
deleted file mode 100644 (file)
index 57857c6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-{{ define "article" }}
-  {{ .Content }}
-{{ end }}