Browse Source

hopefully fixing response html elements

master
jk 4 years ago
parent
commit
c14886a977
  1. 19
      content/article/not-black-and-white/index.md
  2. 10
      layouts/_default/section.html

19
content/article/not-black-and-white/index.md

@ -0,0 +1,19 @@
---
title: "Not Black and White"
date: 2020-06-16T20:42:44+01:00
draft: true
Description: "A little less stout!"
Blog: ["Brewshido"]
category:
- "Homebrewing"
- "自家製ビール"
- "Craft Beer"
- "クラフトビール"
tag:
- "brewstore"
- "grainfather"
- "グレーンファーザー"
- "imperial stout"
Image: ["/images/of-sugar-munchers-and-chilly-gas/pitch_rates_2_0.jpg"]
Type: ["article"]
---

10
layouts/_default/section.html

@ -38,15 +38,17 @@
</aside> </aside>
</section><hr/> </section><hr/>
{{ else }} {{ else }}
<section data-post-type="{{ .Params.posttype }}" data-post-id="{{ .Params.slug }}" class="response h-entry">
{{ if .Params.inreplyto }}<section data-post-type="in-reply-to" data-post-id="{{ .Params.slug }}" class="response h-entry">{{ end }}
{{ if .Params.inreplyto }}<section data-post-type="like-of" data-post-id="{{ .Params.slug }}" class="response h-entry">{{ end }}
{{ if .Params.repostof }}<section data-post-type="repost-of" data-post-id="{{ .Params.slug }}" class="response h-entry">{{ end }}
<div class="author"> <div class="author">
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a>
</div> </div>
<aside> <aside>
<article class="u-{{ .Params.posttype }} h-cite"> <article class="u-{{ .Params.posttype }} h-cite">
{{ if .Params.inreplyto }}<p> Replied to {{ end }}
{{ if .Params.likeof }}<p> Liked {{ end }}
{{ if .Params.repostof }}<p>Shared {{ end }}
{{ if .Params.inreplyto }}<article class="u-in-reply-to h-cite"><p> Replied to {{ end }}
{{ if .Params.likeof }}<article class="u-like-of} h-cite"><p> Liked {{ end }}
{{ if .Params.repostof }}<article class="u-repost-of h-cite"><p>Shared {{ end }}
someone's someone's
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="link u-url"> post</a>{{ end }} {{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="link u-url"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="link u-url"> post</a>{{ end }} {{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="link u-url"> post</a>{{ end }}