From 44977fe7f7c3318a173a1e0e9dfc0417fe4416d8 Mon Sep 17 00:00:00 2001
From: jk
Date: Fri, 12 Mar 2021 10:34:12 +0000
Subject: [PATCH] minor tweaking
---
layouts/_default/section.html | 2 +-
themes/nipponalba/layouts/_default/single.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 4ad891b6..e12d465c 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -69,7 +69,7 @@
{{ if eq .Params.posttype "in-reply-to" }} replied to {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }}
{{ if eq .Params.posttype "repost-of" }} shared {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }}
{{ if .Params.xContent }}{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}{{ plainify .Params.xContent }}
- {{ if .Params.xContentPhoto }}
{{ range .Params.xContentPhoto }}{{ end }}{{ end }}{{end}}
+ {{ if .Params.xContentPhoto }}
{{ range .Params.xContentPhoto }}{{ end }}{{ end }}
{{end}}
{{ if .Content }}{{ end }}
{{ if not (eq .Type "article") }}
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}
diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html
index 8c444225..539b3cd1 100644
--- a/themes/nipponalba/layouts/_default/single.html
+++ b/themes/nipponalba/layouts/_default/single.html
@@ -97,7 +97,7 @@
{{ if eq .Params.posttype "like-of" }} liked {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }}
{{ if eq .Params.posttype "in-reply-to" }} replied to {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }}
{{ if eq .Params.posttype "repost-of" }} shared {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }}
- {{ if .Params.xContent }}{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}{{ plainify .Params.xContent }}
+ {{ if .Params.xContent }}{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}{{ plainify .Params.xContent }}
{{ if .Params.xContentPhoto }}
{{ range .Params.xContentPhoto }}{{ end }}{{ end }}
{{end}}
{{ if .Content }}{{ end }}