Commit Graph
32 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ł <radoslaw.koziel@gmail.com>
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ł <radoslaw.koziel@gmail.com>
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ł <radoslaw.koziel@gmail.com>
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
cd5a89ba3a 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ł <radoslaw.koziel@gmail.com>
2020-04-03 10:59:22 +01:00
willstocksandGitHub 18af67974a Only populate og:image with cover if is set 2020-03-23 08:47:31 +00:00
willstocksandGitHub 801db391a8 Add authorTwitter to post archetype
For Twitter cards
2020-03-20 10:53:10 +00:00
willstocksandGitHub 9d64a69092 Update twitter:creator with cleaner/multiple fallbacks 2020-03-20 09:21:20 +00:00
willstocksandGitHub 5ede34df2c Only use isset check for twitter:site param
See https://gohugo.io/functions/isset/ - consistent with all other param checks in file
2020-03-18 11:24:24 +00:00
willstocksandGitHub 6f5e42002e Separate twitter card params 2020-03-18 11:20:39 +00:00
willstocksandGitHub b39a2e93b7 Tweak twitter card tags to cater for new params 2020-03-18 11:20:14 +00:00
22098b16d9 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-03-18 11:12:36 +00:00
willstocksandGitHub a89e972309 Amend twitter params 2020-03-16 11:07:04 +00:00
willstocksandGitHub a6ae1efab1 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-03-16 11:05:35 +00:00
willstocksandGitHub 1b00e7e317 Include Twitter Card parameters 2020-03-16 11:01:48 +00:00
7f0bda3358 Fix twitter image url for non-home
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-03-16 10:52:14 +00:00
willstocksandGitHub a3f51f61c7 Update USERS.md 2020-03-10 13:57:17 +00:00
willstocksandGitHub 6ed6715b5b Add owner as a param for Twitter Card (creator) 2020-03-10 12:28:08 +00:00
willstocksandGitHub b226e1dc8c 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-03-10 12:08:33 +00:00
willstocksandGitHub 6ef1bb1686 Update head.html 2020-03-10 12:03:11 +00:00