134 Commits

Author SHA1 Message Date
bc8a948e9e Merge branch 'master' into a11y-fixes 2022-10-22 11:37:43 +02:00
4cfc615c58 Merge pull request #370 from matidfk/patch-1
Allow target="_blank" with .Params.NewTab set to true
2022-10-22 11:36:14 +02:00
8ef529a191 Merge pull request #346 from gabe565/list-date-fix
Fix list date shown as 0001-01-01 when not set
2022-10-22 11:31:10 +02:00
ef0ab18dd9 Switch another div to article 2022-10-18 21:02:32 -07:00
4a26bc11a8 Semantics: use time element where appropriate
See #371
2022-09-27 14:06:37 -07:00
a44ecc8816 Semantics: use article element where appropriate
See #371
2022-09-27 13:58:45 -07:00
7e552cfc27 Typo: change ariaLabel to aria-label 2022-09-27 13:56:54 -07:00
b824cb3172 Allow target="_blank" with .Params.NewTab set to true
example:
```
[[menu.main]]
identifier = "discord"
name = "Discord"
url = "https://discord.gg/..."
[menu.main.params]
    newTab = true
```
2022-09-25 13:19:32 +01:00
d7e289572a Fix list date shown as 0001-01-01 when not set 2022-07-06 12:12:59 -05:00
48846331ee Don't markdownify .Summary
When a post defines a custom summary through `<!--more-->` tag,
`markdownify` does not work and result in the post having empty summary.

This fixes the behavior to render it properly
2022-04-26 16:50:17 -07:00
7b430aaaca Adds flag to hide comments on a page-to-page basis 2022-03-29 20:08:32 +02:00
993f39f58d make Toc a site-wide Param 2022-02-05 15:58:12 +05:30
14414168d7 fixed post-content logic in index.html 2021-11-10 09:12:44 +01:00
1eb3288a62 fixed post-content logic in list.html 2021-11-10 09:11:18 +01:00
a3dd8c11f0 set default values for FullWidthTheme and CenterTheme. fixes 278 2021-11-04 23:44:21 +01:00
e77948f3cd fix autocover partial 2021-11-01 18:58:53 +01:00
a634663b48 Merge pull request #250 from indrora/page-bundles
Use Page Bundles, automatically use cover file if available. Closes #249, #274
2021-11-01 18:49:33 +01:00
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
ef0c8fef68 fix logic for getting cover information 2021-05-07 23:49:17 -07:00
2383eeb774 Add title from CoverCredit, if availble 2021-05-04 21:37:33 -07:00
67bb5735de Move cover to partial; need to verify that old behavior still works as intended. 2021-05-04 19:33:35 -07:00
61980c49d1 Use Page Bundles, automatically use cover file if available. 2021-05-02 23:53:56 -07: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