From 3a950d1c8b79afcef2869c1b2193a1ae7e8ab465 Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 7 Jul 2020 09:32:26 +0100 Subject: [PATCH] adding the slightest of context to responses --- layouts/_default/section.html | 6 +++--- themes/nipponalba/layouts/_default/single.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/_default/section.html b/layouts/_default/section.html index f5f8ad74..9d8d133b 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -43,9 +43,9 @@

{{ .Site.Params.Title }} - {{ if eq .Params.posttype "in-reply-to" }} replied to a post{{ end }} - {{ if eq .Params.posttype "like-of" }} liked a post{{ end }} - {{ if eq .Params.posttype "repost-of" }} shared a post{{ end }}

+ {{ if eq .Params.posttype "like-of" }} liked {{ index .Params "like-of" }}{{ end }} + {{ if eq .Params.posttype "in-reply-to" }} replied to {{ index .Params "in-reply-to" }}{{ end }} + {{ if eq .Params.posttype "repost-of" }} shared {{ index .Params "repost-of" }}{{ end }}

{{ if .Content }}
{{ .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 3da8e4ca..e4a693f8 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -86,9 +86,9 @@

{{ .Site.Params.Title }} - {{ if eq .Params.posttype "in-reply-to" }} replied to a post{{ end }} - {{ if eq .Params.posttype "like-of" }} liked a post{{ end }} - {{ if eq .Params.posttype "repost-of" }} shared a post{{ end }}

+ {{ if eq .Params.posttype "in-reply-to" }} replied to {{ index .Params "in-reply-to" }}{{ end }} + {{ if eq .Params.posttype "like-of" }} liked {{ index .Params "like-of" }}{{ end }} + {{ if eq .Params.posttype "repost-of" }} shared {{ index .Params "repost-of" }}{{ end }}

{{ if .Content }}

{{ .Content }}

{{end}}
{{ if not (eq .Type "article") }}