From 43b0708769eb61392050045b881f8e6ba39c5b66 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 26 May 2023 00:40:40 +0200 Subject: Massive update to posts, archetypes Added a archetypes for creating notes and posts so it auto-populates fields. Fixed existing posts so they align with the rule of 80 columns now. --- themes/simple/layouts/_default/single.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'themes/simple/layouts') diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index ffa776f..4489601 100644 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html @@ -6,7 +6,7 @@

{{ .Title }}

- {{ if in .Type "posts" }} + {{ if not (eq .Type "pages") }} {{ end }}
@@ -23,7 +23,7 @@ - {{ if in .Type "posts" }} + {{ if not (eq .Type "pages") }}
{{ end }} @@ -39,7 +39,7 @@ {{ end }} - {{ if in .Type "posts" }} + {{ if not (eq .Type "pages") }} {{ partial "read-more.html" . }} {{ end }} @@ -53,4 +53,4 @@ {{ end }} -{{ end }} \ No newline at end of file +{{ end }} -- cgit v1.2.3