From 74b8eb6e61b0b58ef5187fdeede94e0aff3cbaba Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 24 Nov 2020 21:20:23 +0000 Subject: [PATCH] fixing lack of author info on pages --- content/response/5fbd6a1c/index.md | 13 ------------- themes/nipponalba/layouts/_default/single.html | 3 +++ 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 content/response/5fbd6a1c/index.md diff --git a/content/response/5fbd6a1c/index.md b/content/response/5fbd6a1c/index.md deleted file mode 100644 index f8a59ca3..00000000 --- a/content/response/5fbd6a1c/index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -date: '2020-11-24 20:16:28' -draft: false -pleromaurl: null -posttype: repost-of -repost-of: 'https://jk.nipponalba.scot/photo/5fbd24b1/' -sensitive: 'false' -slug: 5fbd6a1c -visibility: public -title: repost-of -xContent: 'A Post' ---- - diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 7996b755..23e7d7c6 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -1,5 +1,8 @@ {{ define "main" }} {{ if not (eq .Type "response" "bookmarkof")}} + {{ if ne .Type "article"}}
{{else}}
{{end}} {{ if eq .Type "article" }}{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}

{{ .Title }}

{{ .Description }}