[meta] Add webmentions / related to tech posts
This commit is contained in:
parent
76c9d0b8c6
commit
fb14e9bdea
|
@ -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" }}
|
||||
|
|
Loading…
Reference in New Issue