Commit Graph

431 Commits

Author SHA1 Message Date
Joel Knight
bcd630ad2e Hide header and pagination footer when printing
Since the header and pagination footer contain links that help a reader
navigate the site in a browser, they serve little value on a printed
copy.
2020-05-29 00:21:45 +02:00
Joel Knight
ca115e308e Don't truncate content in Firefox print preview 2020-05-29 00:21:45 +02:00
willstocks
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
panr
a52bef65ce Fix dependecies 2020-05-29 00:21:45 +02:00
Bernardo Gameiro
583d6c51c3 Update USERS.md 2020-05-29 00:21:44 +02:00
Ben Coleman
0570ab80bb Use description for og:description 2020-05-29 00:21:16 +02:00
Nanda Gopal
71618345a6 Updatr USERS.md 2020-05-29 00:21:16 +02:00
willstocks
a53fe97fa1 Only populate og:image with cover if is set 2020-05-29 00:21:16 +02:00
willstocks
c6a38c4b85 Add authorTwitter to post archetype
For Twitter cards
2020-05-29 00:21:16 +02:00
willstocks
76f28fb7ba Update twitter:creator with cleaner/multiple fallbacks 2020-05-29 00:21:16 +02:00
willstocks
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
willstocks
8b51d587d8 Separate twitter card params 2020-05-29 00:21:16 +02:00
willstocks
b9cfb8d360 Tweak twitter card tags to cater for new params 2020-05-29 00:21:16 +02:00
willstocks
87d7bf9ca1 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:16 +02:00
willstocks
639fd7f5b1 Amend twitter params 2020-05-29 00:21:16 +02:00
willstocks
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
willstocks
aaada1ee03 Include Twitter Card parameters 2020-05-29 00:21:16 +02:00
willstocks
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
willstocks
1d47e2102a Update USERS.md 2020-05-29 00:21:16 +02:00
willstocks
d8c6eca445 Add owner as a param for Twitter Card (creator) 2020-05-29 00:21:16 +02:00
willstocks
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
willstocks
d498a48f49 Update head.html 2020-05-29 00:21:16 +02:00
Zhai2333
11074eeb07 [^] upd: Update 404 2020-05-29 00:21:16 +02:00
Zhai2333
1a47dec920 [+] add: 404 Page 2020-05-29 00:21:16 +02:00
Dave Derderian
bb19133255 remove site.params.toctile from if condition 2020-05-29 00:18:15 +02:00
Dave Derderian
460409971b add conditional table of contents 2020-05-29 00:16:13 +02:00
panr
67a5a0c82c Update 404 page 2020-05-29 00:07:58 +02:00
Radek Kozieł
cf990015dd
Merge pull request #51 from mochaaP/404-page
Add 404 Page
2020-05-28 23:57:19 +02:00
panr
72840fc527 Update list styling 2020-05-28 20:06:21 +02:00
Radek Kozieł
565186853e
Merge pull request #27 from funayman/add-toc
Add conditional table of contents
2020-05-28 18:32:33 +02:00
Radek Kozieł
58ba445c9f
Merge pull request #142 from Hritik14/patch-1
Update USERS.md
2020-05-17 23:56:45 +02:00
Radek Kozieł
7c754f2db2
Update USERS.md 2020-05-17 23:56:22 +02:00
Radek Kozieł
d62c409035
Merge pull request #143 from return-to-libc/master
Update USERS.md
2020-05-17 23:55:37 +02:00
elraro
0afe80acc8 Update USERS.md 2020-05-01 02:10:29 +02:00
Alberto
25b1edd1db
Merge pull request #1 from panr/master
remove pagnitaiton form sigle pages
2020-05-01 02:00:19 +02:00
Radek Kozieł
ca56210123
Merge pull request #141 from billyogat/single-pages
remove pagination form sigle pages
2020-04-27 18:45:34 +02:00
Scott Anderson
c5ee41ddae remove pagnitaiton form sigle pages 2020-04-27 09:14:14 -04:00
Hritik Vijay
f5ef1950c8
Update USERS.md 2020-04-21 22:33:46 +05:30
Radek Kozieł
e877df5bae
Merge pull request #140 from brotherlymite/patch-1
Made changes which were causing builds to fail
2020-04-19 19:46:50 +02:00
Harsh Pandey
1a181e05ae
Made changes which were causing builds to fail
I updated ne to not and now it builds perfectly on zeit and netlify
2020-04-19 17:47:49 +05:30
Radek Kozieł
10351a6b9d
Merge pull request #136 from knightjoel/issue/135
Don't truncate content in Firefox print preview
2020-04-14 01:47:07 +02:00
Radek Kozieł
0efdbb73f4
Merge pull request #137 from knightjoel/pr/cleaner_print
Hide header and pagination footer when printing
2020-04-14 01:38:39 +02:00
Joel Knight
3a0f200a91 Hide header and pagination footer when printing
Since the header and pagination footer contain links that help a reader
navigate the site in a browser, they serve little value on a printed
copy.
2020-04-05 15:22:18 -06:00
Joel Knight
d56bb5398e Don't truncate content in Firefox print preview 2020-04-05 15:19:05 -06:00
Radek Kozieł
e70a99243e
Merge pull request #128 from willstocks/master
Only populate og:image with cover if is set
2020-04-04 17:21:37 +02:00
willstocks
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
Radek Kozieł
f8ce76b7de
Merge pull request #132 from nebloc/master
Use description for og:description
2020-04-01 19:50:07 +02:00
Radek Kozieł
944b03d983
Merge pull request #131 from Nanda-G/master
Update USERS.md
2020-04-01 19:48:25 +02:00
Radek Kozieł
f8eb2e304f
Merge branch 'master' into master 2020-04-01 19:48:17 +02:00
Radek Kozieł
c21569654e
Merge pull request #134 from BGameiro2000/patch-1
Update USERS.md
2020-04-01 19:47:39 +02:00