From: danix Date: Tue, 7 Mar 2023 16:02:08 +0000 (+0100) Subject: changed type 'post' to type 'article' for single articles. X-Git-Url: https://git.danix.xyz/?p=theme-danix.xyz.git;a=commitdiff_plain;h=6ea07a0ed82540bfb100f601422d7449aec96c61 changed type 'post' to type 'article' for single articles. --- 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