Browse Source

trying to fix sending of webmentions

master
jk 4 years ago
parent
commit
88cade3681
  1. 6
      layouts/_default/section.html
  2. 6
      themes/nipponalba/layouts/_default/single.html
  3. 2
      themes/nipponalba/static/css/style.css

6
layouts/_default/section.html

@ -38,9 +38,9 @@
</aside>
</section><hr/>
{{ else }}
{{ if .Params.inreplyto }}<section data-post-type="in-reply-to" data-post-id="{{ .Params.slug }}" class="response h-entry">{{ end }}
{{ if .Params.likeof }}<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 }}
{{ if .Params.inreplyto }}<section data-post-type="in-reply-to" data-post-id="{{ .Params.slug }}" class="h-entry" id="response">{{ end }}
{{ if .Params.likeof }}<section data-post-type="like-of" data-post-id="{{ .Params.slug }}" class="h-entry" id="response">{{ end }}
{{ if .Params.repostof }}<section data-post-type="repost-of" data-post-id="{{ .Params.slug }}" class="h-entry" id="response">{{ end }}
<div class="author">
<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.Title }}</div></a>
</div>

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

@ -88,9 +88,9 @@
{{ end }}
{{ end }}
{{ else }}
{{ if .Params.inreplyto }}<section data-post-type="in-reply-to" data-post-id="{{ .Params.slug }}" class="response h-entry">{{ end }}
{{ if .Params.likeof }}<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 }}
{{ if .Params.inreplyto }}<section data-post-type="in-reply-to" data-post-id="{{ .Params.slug }}" class="h-entry" id="response">{{ end }}
{{ if .Params.likeof }}<section data-post-type="like-of" data-post-id="{{ .Params.slug }}" class="h-entry" id="response">{{ end }}
{{ if .Params.repostof }}<section data-post-type="repost-of" data-post-id="{{ .Params.slug }}" class="h-entry" id="response">{{ end }}
<div class="author">
<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.Title }}</div></a>
</div>

2
themes/nipponalba/static/css/style.css

@ -649,7 +649,7 @@ width:100%
display:inline-block;
vertical-align: top;
}
.content .response aside{
.content #response aside{
width:90%;
}
.content aside time, .h-cite time{