Commit Graph

229 Commits

Author SHA1 Message Date
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
ca115e308e Don't truncate content in Firefox print preview 2020-05-29 00:21:45 +02:00
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
a52bef65ce Fix dependecies 2020-05-29 00:21:45 +02:00
583d6c51c3 Update USERS.md 2020-05-29 00:21:44 +02:00
0570ab80bb Use description for og:description 2020-05-29 00:21:16 +02:00
71618345a6 Updatr USERS.md 2020-05-29 00:21:16 +02:00
a53fe97fa1 Only populate og:image with cover if is set 2020-05-29 00:21:16 +02:00
c6a38c4b85 Add authorTwitter to post archetype
For Twitter cards
2020-05-29 00:21:16 +02:00
76f28fb7ba Update twitter:creator with cleaner/multiple fallbacks 2020-05-29 00:21:16 +02:00
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
8b51d587d8 Separate twitter card params 2020-05-29 00:21:16 +02:00
b9cfb8d360 Tweak twitter card tags to cater for new params 2020-05-29 00:21:16 +02:00
87d7bf9ca1 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:16 +02:00
639fd7f5b1 Amend twitter params 2020-05-29 00:21:16 +02:00
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
aaada1ee03 Include Twitter Card parameters 2020-05-29 00:21:16 +02:00
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
1d47e2102a Update USERS.md 2020-05-29 00:21:16 +02:00
d8c6eca445 Add owner as a param for Twitter Card (creator) 2020-05-29 00:21:16 +02:00
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
d498a48f49 Update head.html 2020-05-29 00:21:16 +02:00
11074eeb07 [^] upd: Update 404 2020-05-29 00:21:16 +02:00
1a47dec920 [+] add: 404 Page 2020-05-29 00:21:16 +02:00
bb19133255 remove site.params.toctile from if condition 2020-05-29 00:18:15 +02:00
460409971b add conditional table of contents 2020-05-29 00:16:13 +02:00
0b0c32c626 Change the style of the last update time 2020-03-11 23:05:58 +08:00
145a758159 Merge remote-tracking branch 'upstream/master' 2020-03-10 22:26:40 +08:00
0dc364f3e2 Merge pull request #113 from knightjoel/issue/26
Import shortcode to activate PrismJS plugins
2020-02-01 13:23:16 +01:00
0b541b6f54 Merge pull request #124 from superusercode/patch-1
fix spelling error in example site
2020-02-01 13:07:07 +01:00
6c186bd043 fix spelling error in example 2020-01-29 00:33:04 -05:00
8ac2551ee2 Merge pull request #123 from oberbaum/patch-1
Update USERS.md
2020-01-28 08:53:21 +01:00
172708334f Update USERS.md 2020-01-27 23:27:42 +01:00
a1c203cb17 Apply suggestions from code review
Co-Authored-By: Radek Kozie. <radoslaw.koziel@gmail.com>
2020-01-26 14:53:18 -07:00
92cc5bcd23 Apply suggestions from code review
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-25 21:18:08 -07:00
7c5c62e630 A little fix for anchor appearance 2020-01-24 08:21:30 +01:00
49c8679b6c Merge pull request #120 from sophiabrandt/add-anchor-links
[feature] add anchor icon to heading anchors
2020-01-24 08:18:40 +01:00
ff3aa2316b improve: add fixes/suggestions from panr 2020-01-23 21:04:09 +01:00
e8fdb4e084 Update layouts/_default/single.html
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-23 20:56:58 +01:00
2ab90a708e merge latest upstream 2020-01-23 20:50:13 +01:00
0ff712efdb Update yarn.lock 2020-01-23 19:59:56 +01:00
98ab575126 Merge pull request #116 from wooseopkim/feature/google-analytics
Add Google Analytics template
2020-01-23 19:37:43 +01:00
e61ad0ef07 Merge pull request #114 from dseverboven/patch-1
Update USERS.md
2020-01-23 19:36:25 +01:00
4d7a3c2db3 Merge branch 'master' into patch-1 2020-01-23 19:36:10 +01:00
b6a5436f40 Merge pull request #119 from sophiabrandt/patch-1
add new user
2020-01-23 19:33:30 +01:00
4f23e52472 Merge branch 'master' into patch-1 2020-01-23 19:33:00 +01:00
d30e8a50b0 Merge pull request #122 from qbunt/master
Added qbunt.com to USERS.md
2020-01-23 18:56:08 +01:00
62531797e7 Added qbunt.com to USERS.md
Thanks for the theme, it's been amazing!
2020-01-22 08:58:55 -05:00
20ce063397 Upload compiled style.css after line-numbers changes 2020-01-22 08:46:35 +01:00
2fcbefa09f Fix line numbers alignment 2020-01-21 08:35:11 +01:00