From 31ace63d075ca53ba23901476031bc617f28aa11 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 11 Mar 2021 09:37:46 +0000 Subject: [PATCH] webmention fixes? --- layouts/_default/section.html | 6 +++--- themes/nipponalba/layouts/_default/single.html | 6 +++--- themes/nipponalba/static/css/style.css | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 1fdac193..4ad891b6 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -60,17 +60,17 @@ {{ else }} -
+
-

{{ .Site.Params.Title }} +

{{ .Site.Params.Title }} {{ 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 }} {{ if .Params.xContentPhoto }}

{{ range .Params.xContentPhoto }}{{ end }}{{ end }}
{{end}} - {{ if .Content }}
{{ .Content }}{{ end }} + {{ if .Content }}

{{ .Content }}
{{ end }} {{ if not (eq .Type "article") }}
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}
{{ end }} diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 14967d40..07973f0b 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -89,17 +89,17 @@ {{ end }}
{{ end }}
{{ else }} -
+
-

{{ .Site.Params.Title }} +

{{ .Site.Params.Title }} {{ 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 }} {{ if .Params.xContentPhoto }}

{{ range .Params.xContentPhoto }}{{ end }}{{ end }}
{{end}} - {{ if .Content }}

{{ .Content }}
{{ end }} + {{ if .Content }}

{{ .Content }}
{{ end }}
{{ if not (eq .Type "article") }}
{{ end }} diff --git a/themes/nipponalba/static/css/style.css b/themes/nipponalba/static/css/style.css index 35523412..85207c55 100644 --- a/themes/nipponalba/static/css/style.css +++ b/themes/nipponalba/static/css/style.css @@ -488,7 +488,7 @@ margin-bottom: 300px; max-width:700px; padding: 10px; } -#response .h-cite .replyContext{ +#response .xrayReply .replyContext{ background-color: var(--border-colour); display:grid; min-height: 80px;