1
0
Fork 0

Add syndication links & refs

This commit is contained in:
Sebastian Schulze 2020-07-08 20:35:05 +02:00
parent 8507ad1ed0
commit b5439a89dc
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<h1 class="p-name"><a class="u-url" href="{{ .Permalink }}">{{ .Title }}</a></h1>
<div class="post-content e-content">
<a href="{{ .Params.media_url }}"><img src="{{ .Params.media_url }}"></a>
Originally posted to <a class="u-syndication" href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>
Originally posted to <a class="u-syndication syn-link" rel="syndication" href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>
</div>
<time class="hidden dt-published" datetime="{{ $.Date }}">{{ .Date.Format "02. January 2006" }}</time>
<a class="p-author h-card hidden" href="https://bascht.com"><img class="u-photo hidden" src="/images/bascht.jpg"/>Bascht</a>

View File

@ -15,6 +15,10 @@
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
<link rel="webmention" href="https://webmention.io/bascht.com/webmention" />
<link rel="pingback" href="https://webmention.io/bascht.com/xmlrpc" />
<link rel="dns-prefetch" href="//img.bascht.com">
<link rel="pgpkey" href="https://bascht.com/key.asc">
<link rel="feed" type="text/html" title="Syndicatable" href="{{ .Site.BaseURL }}/posts/" />
{{ template "_internal/twitter_cards.html" . -}}
{{ template "_internal/opengraph.html" . -}}
<link rel="icon" href="/favicon.ico" />