Commit graph

98 commits

Author SHA1 Message Date
panr
60a15e7b38 show language selector only when there is more than one language 2020-11-16 00:12:25 +01:00
Toon Schoenmakers
cb61741202 Hide the menu button on mobile if the menu is empty 2020-10-17 23:06:50 +02:00
panr
08644e95c3 Allow html in figure caption. 2020-09-27 16:25:34 +02:00
Radek Kozieł
0f2f3fc6be
Merge pull request #172 from rossmckelvie/apple-touch-icon
Modernize apple-touch-icon
2020-09-27 16:11:45 +02:00
Radek Kozieł
3523728e96
Merge pull request #179 from luigifcruz/patch-2
Improve Open Graph Tags
2020-09-27 16:07:25 +02:00
panr
4a20b34d61 Update languageSelector code & other small fixes. 2020-09-27 16:01:39 +02:00
panr
9f2097f3f0 Fix head partial. 2020-09-06 00:52:53 +02:00
panr
a6f223f522 Webpack is back! 2020-09-06 00:31:23 +02:00
Luigi Cruz
cbe39af196
Changing Open Graph tags. 2020-08-09 21:52:51 -03:00
panr
e6be81c664 Show a twitter card without any condition. 2020-08-10 00:13:56 +02:00
Radek Kozieł
80fa802fa6
Merge pull request #177 from arminfriedl/master
Only add twitter card if twitter defined
2020-08-10 00:10:59 +02:00
panr
0759309c59 Webpack -> Hugo Pipes 2020-08-09 23:49:38 +02:00
Armin Friedl
55b6d6bf28 Only add twitter card if twitter defined
Removes warning
`WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.`
in newer hugo versions.
2020-08-09 08:17:04 +02:00
Ross McKelvie
8b264b8f51
apple-touch-icon-precomposed has been obsolete since iOS 7 2020-08-02 03:38:24 -05:00
panr
5a0af3384d Fix accessibility issues and re-format templates 2020-06-18 00:40:31 +02:00
panr
04d9175af8 Update styling 2020-06-18 00:21:19 +02:00
panr
0925abe5d8 Add terms.html template.
Add index.html template.
Fix list.html template.
2020-06-17 16:52:06 +02:00
Radek Kozieł
b19e56a9d8
Merge pull request #150 from FizzyGalacticus/color-per-page
Add color-per-page support
2020-06-17 16:20:06 +02:00
panr
9cbc71f5c3 Update collapsable code shortcode with isCollapsed prop 2020-06-13 09:51:22 +02:00
panr
cf59a36030 Add a collapsable code shortcode 2020-06-10 00:16:28 +02:00
Dustin L. Dodson
e7fd995590
Add color-per-page support, addresses #20 2020-05-30 17:23:49 -07:00
panr
0a9b08f405 Fix styling for the index content 2020-05-29 00:50:00 +02:00
Radek Kozieł
3ade628cfc
Merge pull request #104 from nuno-silva/index
[WIP] Feature request: display index page content
2020-05-29 00:36:43 +02:00
panr
7c77a416df Update 404 page 2020-05-29 00:22:42 +02:00
Scott Anderson
72bdbc99ce remove pagnitaiton form sigle pages 2020-05-29 00:21:45 +02:00
Harsh Pandey
9271d6ebf9 Made changes which were causing builds to fail
I updated ne to not and now it builds perfectly on zeit and netlify
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
Ben Coleman
0570ab80bb Use description for og:description 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
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
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
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
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
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
horochx
0b0c32c626 Change the style of the last update time 2020-03-11 23:05:58 +08:00
horochx
145a758159 Merge remote-tracking branch 'upstream/master' 2020-03-10 22:26:40 +08:00
Radek Kozieł
0dc364f3e2
Merge pull request #113 from knightjoel/issue/26
Import shortcode to activate PrismJS plugins
2020-02-01 13:23:16 +01:00
Joel Knight
a1c203cb17 Apply suggestions from code review
Co-Authored-By: Radek Kozie. <radoslaw.koziel@gmail.com>
2020-01-26 14:53:18 -07:00
Joel Knight
92cc5bcd23
Apply suggestions from code review
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-25 21:18:08 -07:00
panr
7c5c62e630 A little fix for anchor appearance 2020-01-24 08:21:30 +01:00
Sophia Brandt
ff3aa2316b improve: add fixes/suggestions from panr 2020-01-23 21:04:09 +01:00
Sophia Brandt
e8fdb4e084
Update layouts/_default/single.html
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-23 20:56:58 +01:00
Sophia Brandt
2ab90a708e merge latest upstream 2020-01-23 20:50:13 +01:00