From e09ca20395e74acd1e3abda82e1f7fe579fe82ea Mon Sep 17 00:00:00 2001 From: jk Date: Sat, 13 Feb 2021 23:29:28 +0000 Subject: [PATCH] trying to sort outgoing replies --- themes/nipponalba/layouts/_default/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 6acf93d9..8fb09301 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -96,8 +96,8 @@ {{ 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 }}
{{ .Params.xAuthor }}'s avatar{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}
{{ plainify .Params.xContent }}
{{end}} - {{ if .Content }}
{{ .Content }}{{ end }} + {{ if .Params.xContent }}
{{ .Params.xAuthor }}'s avatar{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}
{{ plainify .Params.xContent }}
{{end}} + {{ if .Content }}

{{ .Content }}
{{ end }} {{ if not (eq .Type "article") }}
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}
{{ end }}