Commit Graph

49 Commits

Author SHA1 Message Date
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
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
panr
5a0af3384d Fix accessibility issues and re-format templates 2020-06-18 00:40:31 +02:00
Dustin L. Dodson
e7fd995590
Add color-per-page support, addresses #20 2020-05-30 17:23:49 -07: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
Wooseop Kim
fa95894458 Add Google Analytics template 2020-01-15 22:41:43 +09:00
Radek Kozieł
8d8e93fa8d
Merge pull request #72 from MoritzFago/fix-atribution
Fix attribution if copyright is set by user.
2019-08-24 08:06:18 +02:00
Radek Kozieł
2307f19909
Merge pull request #33 from Rinma/add-language-selector
Added option for language selector
2019-08-13 16:40:04 +02:00
Marvin Dalheimer
63b2c69f85
Remove unused css classes 2019-08-13 13:16:18 +02:00
Marvin Dalheimer
28dd0fadf9 Use ul instead of div and BEM naming 2019-08-13 08:44:40 +02:00
Moritz Fago
2bb48d5952 Fix attribution if copyright is set by user. 2019-08-09 01:44:24 +02:00
panr
24e901f460 Add keywords support to single page 2019-08-08 21:56:25 +02:00
Michael Serajnik
79b040a3ec
Only insert custom CSS link if the file exists 2019-06-15 15:55:40 +02:00
panr
64b59a4e59 Fix RSS links #41 2019-05-24 09:36:06 +02:00
Marvin Dalheimer
10b545bb86 Added option for language selector
Implemented a language selector submenu that can be turned on or off by a config value.

Resolves: panr/hugo-theme-terminal#31
2019-04-01 21:44:39 +02:00
RPGillespie6
27462e1893 Make favicon configurable
Fix #18
2019-03-13 18:56:57 -04:00
Wael M. Nasreddine
00296f07b4
rename the partials to extended_head and extended_footer 2019-03-04 14:20:48 -08:00
Wael M. Nasreddine
4b959d0aa6
partials/footer: render a placeholder custom_footer.html 2019-02-26 00:38:49 -08:00
Wael M. Nasreddine
1cf2b933a3
partials/head: render a placeholder custom_head.html 2019-02-26 00:35:27 -08:00
Andreas Hilboll
bb7ad5779f
Fix typo in comment 2019-02-24 13:53:19 +01:00
panr
d005155fa5 Add comment partial 2019-02-15 00:38:45 +01:00
Radek Kozieł
b746766d0e
Merge pull request #5 from ffluegel/patch-1
Removed inline style
2019-02-11 10:11:02 +01:00
panr
4e7ac981d2 Fixes 2019-02-09 09:11:56 +01:00
ffluegel
4f399128b2
Removed inline style 2019-02-09 01:07:00 +01:00
panr
e6f8847460 Fix menu 2019-02-01 16:00:11 +01:00
panr
4a462a4a21 Update README 2019-02-01 10:15:28 +01:00
panr
88d7d5ddba Add menu trigger to desktop 2019-02-01 08:39:12 +01:00
panr
4254f4c314 Add menu item counter to config 2019-01-31 22:06:54 +01:00
panr
802b2f1312 Fix typos 2019-01-29 11:18:14 +01:00
panr
e65d3fbbc8 Typo fixes 2019-01-29 11:07:58 +01:00
panr
6c68bd63ae Fix absURL paths and exampleSite 2019-01-29 10:48:49 +01:00
panr
86562b8241 Init 2019-01-28 01:11:02 +01:00