From 643218894e4eb7ad9596e8342ba17f9c5c163d73 Mon Sep 17 00:00:00 2001
From: jk
Date: Wed, 10 Mar 2021 11:41:34 +0000
Subject: [PATCH] trying to get webmentions to see the bridgy fed link
---
config.toml | 1 +
themes/hugo-atom-feed/layouts/_default/list.atom.xml | 4 ++--
themes/nipponalba/layouts/_default/single.html | 3 +--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/config.toml b/config.toml
index b6031fb6..ab0a4235 100644
--- a/config.toml
+++ b/config.toml
@@ -55,6 +55,7 @@ siteLogo = "images/na-sm.png"
keywords = ""
favicon = "favicons/"
feedSections =["article","note","photo"]
+email = "jk@nipponalba.scot"
[languages.en.Params]
diff --git a/themes/hugo-atom-feed/layouts/_default/list.atom.xml b/themes/hugo-atom-feed/layouts/_default/list.atom.xml
index 062bb65a..83cb949b 100644
--- a/themes/hugo-atom-feed/layouts/_default/list.atom.xml
+++ b/themes/hugo-atom-feed/layouts/_default/list.atom.xml
@@ -38,10 +38,10 @@
{{ (. | fingerprint).Permalink }}
{{- end }}
{{ end }}
- {{ with site.Author.name -}}
+ {{ with Site.Params.author -}}
{{ . }}
- {{ with site.Author.email }}
+ {{ with Site.Params.email }}
{{ . }}
{{ end -}}
diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html
index 8d33ea04..52726d27 100644
--- a/themes/nipponalba/layouts/_default/single.html
+++ b/themes/nipponalba/layouts/_default/single.html
@@ -98,11 +98,10 @@
{{ 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 }}{{end}}
- {{ if .Content }}{{ end }}
+ {{ if .Content }}{{ end }}
{{ if not (eq .Type "article") }}{{ end }}
-
https://fed.brid.gy/
{{end}}