1
0
Fork 0

[meta] Add webmentions / related to tech posts

This commit is contained in:
Sebastian Schulze 2020-11-18 13:01:51 +01:00
parent 76c9d0b8c6
commit fb14e9bdea
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,17 @@
<div class="post-content">
{{ .Content }}
</div>
{{ partial "webmentions.html" . }}
<hr/>
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>Ähnliche Beiträge</h3>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
</article>
<aside>
<h4>Posted</h4> {{ .Date.Format "January, 02th 2006" }}