Browse Source

fixing lack of author info on pages

master
jk 4 years ago
parent
commit
74b8eb6e61
  1. 13
      content/response/5fbd6a1c/index.md
  2. 3
      themes/nipponalba/layouts/_default/single.html

13
content/response/5fbd6a1c/index.md

@ -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'
---

3
themes/nipponalba/layouts/_default/single.html

@ -1,5 +1,8 @@
{{ define "main" }} {{ define "main" }}
{{ if not (eq .Type "response" "bookmarkof")}} {{ if not (eq .Type "response" "bookmarkof")}}
<section class="author" style="display:none">
<a rel="author" class="p-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Author}}</div></a>
</section>
{{ if ne .Type "article"}}<article class="post h-entry entry contents">{{else}}<article class="post longpost h-entry entry contents">{{end}} {{ if ne .Type "article"}}<article class="post h-entry entry contents">{{else}}<article class="post longpost h-entry entry contents">{{end}}
{{ if eq .Type "article" }}{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="p-name entry-title">{{ .Title }}</h3><b>{{ .Description }}</b> {{ if eq .Type "article" }}{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="p-name entry-title">{{ .Title }}</h3><b>{{ .Description }}</b>
<section class="info"> <section class="info">