Browse Source

fixing replies in single.html

master
jk 4 years ago
parent
commit
b25642006a
  1. 2
      data/mentions/86ac2ebe7d5057ee0a5e8a8b68007c0eac1b04a277262c774b3cfc904e012a3c.json
  2. 2
      themes/nipponalba/layouts/_default/single.html

2
data/mentions/86ac2ebe7d5057ee0a5e8a8b68007c0eac1b04a277262c774b3cfc904e012a3c.json

@ -1 +1 @@
{"type":"entry","author":{"type":"card","name":"J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿","photo":"https://webmention.io/avatar/jk.nipponalba.scot/201caaea1889f39529535e829117ad39acdd7db241be2c888363e72bda171c67.jpg","url":"https://jk.nipponalba.scot"},"url":"https://jk.nipponalba.scot/response/5ef1dcc9/","published":"2020-06-23T11:43:00","wm-received":"2020-06-23T10:50:09Z","wm-id":813729,"wm-source":"https://jk.nipponalba.scot/response/5ef1dcc9/","wm-target":"https://jk.nipponalba.scot/note/5ef085b9/","content":{"text":"The main issue I have now, is just that it takes a very long time for new posts to appear on microsub servers using aperture.p3k.io ..\nLast note was created around an hour and 20 minutes ago and it still isn’t appearing.\nI’m going to look into hosting my own microsub endpoint - looking at Ekster now."},"like-of":"https://jk.nipponalba.scot/note/5ef085b9/","wm-property":"like-of","wm-private":false,"rels":{"canonical":"https://jk.nipponalba.scot/response/5ef1dcc9/"}}
{"type":"entry","author":{"type":"card","name":"J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿","photo":"https://webmention.io/avatar/jk.nipponalba.scot/201caaea1889f39529535e829117ad39acdd7db241be2c888363e72bda171c67.jpg","url":"https://jk.nipponalba.scot"},"url":"https://jk.nipponalba.scot/response/5ef1dcc9/","published":"2020-06-23T11:43:00","wm-received":"2020-06-23T10:50:09Z","wm-id":813729,"wm-source":"https://jk.nipponalba.scot/response/5ef1dcc9/","wm-target":"https://jk.nipponalba.scot/note/5ef085b9/","content":{"text":"The main issue I have now, is just that it takes a very long time for new posts to appear on microsub servers using aperture.p3k.io ..\nLast note was created around an hour and 20 minutes ago and it still isn’t appearing.\nI’m going to look into hosting my own microsub endpoint - looking at Ekster now."},"in-reply-to":"https://jk.nipponalba.scot/note/5ef085b9/","wm-property":"in-reply-to","wm-private":false,"rels":{"canonical":"https://jk.nipponalba.scot/response/5ef1dcc9/"}}

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

@ -86,7 +86,7 @@
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><span class="title">{{ .Site.Params.Title }}</span></a> <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><span class="title">{{ .Site.Params.Title }}</span></a>
</section> </section>
<section id="response-details"><br/><p>{{ .Site.Params.Title }} <section id="response-details"><br/><p>{{ .Site.Params.Title }}
{{ if eq .Params.posttype "in-reply-to" }} replied to a <a href="{{ index .Params "in-reply-to" }}" class="u-like-of"> post</a>{{ end }}
{{ if eq .Params.posttype "in-reply-to" }} replied to a <a href="{{ index .Params "in-reply-to" }}" class="u-in-reply-to"> post</a>{{ end }}
{{ if eq .Params.posttype "like-of" }} liked a <a href="{{ index .Params "like-of" }}" class="u-like-of"> post</a>{{ end }} {{ if eq .Params.posttype "like-of" }} liked a <a href="{{ index .Params "like-of" }}" class="u-like-of"> post</a>{{ end }}
{{ if eq .Params.posttype "repost-of" }} shared a <a href="{{ index .Params "repost-of" }}" class="u-repost-of"> post</a>{{ end }}</p> {{ if eq .Params.posttype "repost-of" }} shared a <a href="{{ index .Params "repost-of" }}" class="u-repost-of"> post</a>{{ end }}</p>
{{ if .Content }}<span class="p-name p-content"><p>{{ .Content }}</p></span> {{end}} {{ if .Content }}<span class="p-name p-content"><p>{{ .Content }}</p></span> {{end}}