diff --git a/layouts/index.html b/layouts/index.html index 2609557..06c78af 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,6 +2,7 @@ Seirdy’s Home {{ .Site.Params.Description }} + {{ partial "processed-content.html" . }} {{ partial "posts.html" . }} diff --git a/layouts/partials/full-article.html b/layouts/partials/full-article.html index d17dbf0..ff0f212 100644 --- a/layouts/partials/full-article.html +++ b/layouts/partials/full-article.html @@ -4,8 +4,8 @@ {{- if not .Params.disableMeta -}} {{- partial "post-meta.html" . -}} {{- end -}} - + diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html index 3132dda..48bcbf9 100644 --- a/layouts/partials/webmentions.html +++ b/layouts/partials/webmentions.html @@ -27,7 +27,7 @@ {{- $title = $title | replaceRE `^@Seirdy@pleroma.envs.net(\n| )?` "" -}} {{- /* Mastodon webmentions may include the author in the title followed by a colon; this is redundant. */ -}} {{- if and (isset $webmention "author_name") (findRE `@` $webmention.source) (not (findRE "^https://bridg.gy" $webmention.source)) -}} - {{ $title = $title | replaceRE `^[^:]{0,20}: ?` "" }} + {{ $title = $title | replaceRE `^[^:]{0,20}: ?` "" | replaceRE `^"@Seirdy@pleroma.envs.net ?` `"` }} {{- end -}} {{- end -}} {{- if and ($hasContent) (gt (countrunes $webmention.title) 128) -}}
{{ .Site.Params.Description }}