Commit Graph
16 Commits
Author SHA1 Message Date
willstocksandpanr 4ef42a15b2 Implement multi-layer fallback
Cover image for anything that's not home (with fallback to favicon where cover is not set), and for anything that is home we use the favicon with fallback to the default color block

Co-Authored-By: Radek Kozieł <[email protected]>
2020-05-29 00:21:45 +02:00
willstocksandpanr a53fe97fa1 Only populate og:image with cover if is set 2020-05-29 00:21:16 +02:00
willstocksandpanr c6a38c4b85 Add authorTwitter to post archetype
For Twitter cards
2020-05-29 00:21:16 +02:00
willstocksandpanr 76f28fb7ba Update twitter:creator with cleaner/multiple fallbacks 2020-05-29 00:21:16 +02:00
willstocksandpanr 3d067dea1b Only use isset check for twitter:site param
See https://gohugo.io/functions/isset/ - consistent with all other param checks in file
2020-05-29 00:21:16 +02:00
willstocksandpanr 8b51d587d8 Separate twitter card params 2020-05-29 00:21:16 +02:00
willstocksandpanr b9cfb8d360 Tweak twitter card tags to cater for new params 2020-05-29 00:21:16 +02:00
willstocksandpanr 87d7bf9ca1 Remove erroneous |
Co-Authored-By: Radek Kozieł <[email protected]>
2020-05-29 00:21:16 +02:00
willstocksandpanr 639fd7f5b1 Amend twitter params 2020-05-29 00:21:16 +02:00
willstocksandpanr 1dcf383f7d Twitter card + OG markup fixes
Remove Twitter card title, description and image (twitter cards fall back to OG markup for these elements).
Fix og:image url for non-home content
Conditionally show twitter:site tag
2020-05-29 00:21:16 +02:00
willstocksandpanr aaada1ee03 Include Twitter Card parameters 2020-05-29 00:21:16 +02:00
willstocksandpanr f2fd8fbc63 Fix twitter image url for non-home
Co-Authored-By: Radek Kozieł <[email protected]>
2020-05-29 00:21:16 +02:00
willstocksandpanr 1d47e2102a Update USERS.md 2020-05-29 00:21:16 +02:00
willstocksandpanr d8c6eca445 Add owner as a param for Twitter Card (creator) 2020-05-29 00:21:16 +02:00
willstocksandpanr 6a6a3ae75c Fix OpenGraph and Twitter meta tags
Title tags could be a little bloated as the subtitle was being appended. This should fall in to the description instead.
Also, if not looking at an individual post, there was no author being defined or site image.
2020-05-29 00:21:16 +02:00
willstocksandpanr d498a48f49 Update head.html 2020-05-29 00:21:16 +02:00