From 6ea07a0ed82540bfb100f601422d7449aec96c61 Mon Sep 17 00:00:00 2001 From: danix Date: Tue, 7 Mar 2023 17:02:08 +0100 Subject: [PATCH] changed type 'post' to type 'article' for single articles. --- archetypes/articles.md | 1 + layouts/{post => article}/single-baseof.html | 0 layouts/{post => article}/single.html | 0 3 files changed, 1 insertion(+) rename layouts/{post => article}/single-baseof.html (100%) rename layouts/{post => article}/single.html (100%) diff --git a/archetypes/articles.md b/archetypes/articles.md index d9123bd..e958ee3 100644 --- a/archetypes/articles.md +++ b/archetypes/articles.md @@ -2,6 +2,7 @@ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true +type: post author: "{{ $.Site.Params.author_name }}" format: "" excerpt: "" diff --git a/layouts/post/single-baseof.html b/layouts/article/single-baseof.html similarity index 100% rename from layouts/post/single-baseof.html rename to layouts/article/single-baseof.html diff --git a/layouts/post/single.html b/layouts/article/single.html similarity index 100% rename from layouts/post/single.html rename to layouts/article/single.html -- 2.20.1