twitter cards

This commit is contained in:
Marvin Steadfast 2020-02-28 10:33:38 +01:00
parent aef5a80742
commit c3e89d8fdd
3 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,9 @@ params:
mastodon: https://chaos.social/@xsteadfastx mastodon: https://chaos.social/@xsteadfastx
flickr: https://www.flickr.com/photos/marvinxsteadfast/ flickr: https://www.flickr.com/photos/marvinxsteadfast/
feed: https://xsteadfastx.org/index.xml feed: https://xsteadfastx.org/index.xml
description: they made me do it
images:
- /images/vertigo1000.png
theme: "xsfx" theme: "xsfx"
permalinks: permalinks:
posts: "/:year/:month/:day/:slug/" posts: "/:year/:month/:day/:slug/"

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 KiB

View File

@ -11,6 +11,7 @@
{{ with .OutputFormats.Get "RSS" -}} {{ with .OutputFormats.Get "RSS" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{- end }} {{- end }}
{{ template "_internal/twitter_cards.html" . }}
</head> </head>
<body> <body>
{{ partial "header" . }} {{ partial "header" . }}