Commit Graph

113 Commits

Author SHA1 Message Date
0c08f72167 add reading time param 2021-10-24 10:44:15 +02:00
360673bedf Merge pull request #260 from sophiabrandt/fix/paginator
[Bugfix] pagination, close #235
2021-10-24 10:03:55 +02:00
cd36a63fd0 Merge pull request #268 from m0xxz/master
markdownify on  .Content not needed
2021-08-24 14:49:42 +02:00
7773f26830 No need to markdownify .Content, per Hugo project (https://github.com/gohugoio/hugo/issues/2616#issuecomment-255179057). This fixes issues with showFullContent. 2021-07-13 20:28:36 -07:00
9fcd6f2e83 Make prismjs shortcode CRLF tolerant
Checks for extra line in the form of `\r\n` or `\n` so that it's recognized and removed appropriately when edited in a CRLF editor
2021-07-13 17:36:00 -04:00
d2aba65c9a Close #235
Implements solution proposed in
https://github.com/panr/hugo-theme-terminal/issues/235#issuecomment-817480433
by @Laetgark
Link to documentation: https://gohugo.io/templates/pagination/#list-paginator-pages
2021-06-18 08:54:35 +02:00
aaaadafec9 Add default values for the pagination 2021-03-21 10:41:10 +01:00
9dd8459305 Merge pull request #155 from guiguir68/multilingual-improvement
'Newer/Older posts' label is now editable
2021-03-21 10:39:23 +01:00
b4bf3b06c3 Merge pull request #229 from smailzhu/fix-empty-summary
fix summary issue
2021-03-21 10:33:08 +01:00
b4629bfaea Merge pull request #233 from MCWertGaming/desciptionFix
use the defined description instead of the first paragraph in the header when available
2021-03-21 10:20:56 +01:00
72673985a1 Add rss file with full content
Add a default RSS file based on the official Hugo file and extend it with a content tag

Fixes #234
2021-02-28 20:03:44 +01:00
30ad59dc69 use the defined description instead of the first paragraph 2021-02-03 16:54:28 +00:00
58cf550908 fix index preview section issue 2020-11-30 16:07:41 +01:00
c3f51a4c11 fix the viewport variables 2020-11-16 00:25:19 +01:00
60a15e7b38 show language selector only when there is more than one language 2020-11-16 00:12:25 +01:00
cb61741202 Hide the menu button on mobile if the menu is empty 2020-10-17 23:06:50 +02:00
08644e95c3 Allow html in figure caption. 2020-09-27 16:25:34 +02:00
0f2f3fc6be Merge pull request #172 from rossmckelvie/apple-touch-icon
Modernize apple-touch-icon
2020-09-27 16:11:45 +02:00
3523728e96 Merge pull request #179 from luigifcruz/patch-2
Improve Open Graph Tags
2020-09-27 16:07:25 +02:00
4a20b34d61 Update languageSelector code & other small fixes. 2020-09-27 16:01:39 +02:00
9f2097f3f0 Fix head partial. 2020-09-06 00:52:53 +02:00
a6f223f522 Webpack is back! 2020-09-06 00:31:23 +02:00
cbe39af196 Changing Open Graph tags. 2020-08-09 21:52:51 -03:00
e6be81c664 Show a twitter card without any condition. 2020-08-10 00:13:56 +02:00
80fa802fa6 Merge pull request #177 from arminfriedl/master
Only add twitter card if twitter defined
2020-08-10 00:10:59 +02:00
0759309c59 Webpack -> Hugo Pipes 2020-08-09 23:49:38 +02:00
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
8b264b8f51 apple-touch-icon-precomposed has been obsolete since iOS 7 2020-08-02 03:38:24 -05:00
5a0af3384d Fix accessibility issues and re-format templates 2020-06-18 00:40:31 +02:00
04d9175af8 Update styling 2020-06-18 00:21:19 +02:00
0925abe5d8 Add terms.html template.
Add index.html template.
Fix list.html template.
2020-06-17 16:52:06 +02:00
b19e56a9d8 Merge pull request #150 from FizzyGalacticus/color-per-page
Add color-per-page support
2020-06-17 16:20:06 +02:00
b95bb4ac1d 'Newer/Older posts' label is now editable 2020-06-16 16:04:45 +02:00
9cbc71f5c3 Update collapsable code shortcode with isCollapsed prop 2020-06-13 09:51:22 +02:00
cf59a36030 Add a collapsable code shortcode 2020-06-10 00:16:28 +02:00
e7fd995590 Add color-per-page support, addresses #20 2020-05-30 17:23:49 -07:00
0a9b08f405 Fix styling for the index content 2020-05-29 00:50:00 +02:00
3ade628cfc Merge pull request #104 from nuno-silva/index
[WIP] Feature request: display index page content
2020-05-29 00:36:43 +02:00
7c77a416df Update 404 page 2020-05-29 00:22:42 +02:00
72bdbc99ce remove pagnitaiton form sigle pages 2020-05-29 00:21:45 +02:00
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
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
0570ab80bb Use description for og:description 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
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
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
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
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