Commit Graph

50 Commits

Author SHA1 Message Date
Jiogo18
fcb047ac37 fix: tags url regression with backslash
Fix a regression with the case `1\2` in the previous commit.

Trailing slash is required, so `1%5C2` is not converted to `1/2`.
2025-02-16 16:09:42 -05:00
Jiogo18
fbad744c03 fix: tags url with integers
The issue: Using integer as tags (e.g. 2025) is supported by hugo, but printf here converts it to `sint2025`.

An easy client-side solution would be to add quotes to the tag `"2025"`, but it's not intuitive.

Instead, we let hugo choose how to do the conversion.

Working tags:
- `NoSpace` => `tags/nospace/`
- `Two Words` => `tags/two-words/`
- `2025` => `tags/2025/`
- `2025.1` => `tags/2025.1/`
- `1/2` => `tags/1/2/`
- `✔️` => `tags/%EF%B8%8F/`

Breaking change:
- `1\2` => `tags/1/2` but was and should be `tags/1\2` (or `tags/1%5C2`)
IMO we can ignore this case, which can produce other weird behaviours
2025-02-16 14:34:34 -05:00
Jiogo18
4b7e56ae9a fix: Local Theme Variables 2025-01-21 10:51:18 -05:00
Mirus
90c0a89d9f fix: now copyright in footer properly align in different combinations of fullWidthTheme and centerTheme 2024-12-22 13:07:34 +02:00
Sulabh Mehta (Dominik)
c9e3c8294c Fixed footer to show copyright from site.params.copyright as in config 2024-10-02 15:58:37 +08:00
Mirus
4779fd62c0 chore: show figure only on post pages 2024-08-23 14:35:27 +03:00
Mirus
9795a7535f feat: coverCaption 2024-08-23 12:29:28 +03:00
Mirus
4ab072273d feat: submenus update 2024-08-02 16:35:24 +03:00
Mirus
84cbf7e9b3 chore: remove deprecated resources.ToCSS 2024-07-31 20:12:31 +03:00
Mirus
74f38a9b52 feat: call to action banner 2024-07-30 14:37:30 +03:00
Mirus
004534d03c chore: update the demo site 2024-07-30 11:01:36 +03:00
Mirus
d4ec9864d9 fix: comments_counter was missed in single.html 2024-07-30 10:09:00 +03:00
Mirus
79a14e8187 fix: add support of comments_counter addon to more places 2024-07-30 10:01:20 +03:00
Mirus
a85b82b722 feat: new partials: comments_counter and single_base 2024-07-29 10:47:00 +03:00
Mirus
bcf3a31530 chore: change default footer 2024-07-28 19:52:59 +03:00
panr
3a5a676118 fixes after PRs 2023-06-10 00:27:17 +02:00
Radek Kozieł
653c3a1b7e Merge pull request #460 from Thunder33345/taxonomy-title
Added heading to term pages
2023-06-09 23:37:19 +02:00
Radek Kozieł
bcbd22ba8a Merge pull request #459 from Thunder33345/patch-1
Show content if available in terms.html
2023-06-09 23:34:12 +02:00
Radek Kozieł
7926417fc8 Merge pull request #461 from Thunder33345/stray-decoration
Fixed stray `::` when there's no other content to show
2023-06-09 23:33:27 +02:00
Radek Kozieł
e121cb427f Merge pull request #439 from cizordj/patch-1
Update the image shortcode
2023-06-09 23:30:16 +02:00
Björn Ehrby
ef7108798b Fix non-https link to gohugo.io
Fixes the non-secure link to gohugo.io, which sometimes causes security suites to present a warning about non-secure external links
2023-06-05 23:47:46 +02:00
Thunder33345
729543fbd1 apply decorator fix 2023-04-30 22:17:16 +08:00
Thunder33345
823168e161 changed decorators for single 2023-04-30 21:44:59 +08:00
Thunder33345
32df60e801 moved :: decoration position
this hides it if there's no post author to show
2023-04-30 21:34:08 +08:00
Thunder33345
e76c7ebb66 added heading to term pages 2023-04-27 00:54:20 +08:00
Thunder
74e7e40de1 Add option to show content in terms.html 2023-04-26 23:50:25 +08:00
panr
9726b8d806 Allow target="_blank" with .Params.NewTab set to true
This commit belongs to the PR: https://github.com/panr/hugo-theme-terminal/pull/370

by @matidfk
2023-04-13 23:24:56 +02:00
Cézar Augusto
a81c5ae24f Remove duplicated robots tag
Closes #446
2023-03-22 20:22:42 -03:00
Cézar Augusto
5aac274434 Update the image shortcode
- Add both width and height attributes
2023-03-06 20:21:08 -03:00
T2hhbmEK
1093ce9610 fix summary not showing 2023-01-21 23:20:14 +08:00
Radek Kozieł
9e657da94a Merge pull request #415 from florianbieser/FeatureNoindexAttribute
option to set an attribute noindex in front-matter for some sites
2023-01-20 19:08:30 +01:00
Florian
3d894d14be correct behaviour even if boolean is written as string 2023-01-19 17:07:38 +01:00
Florian
e06649f8c8 option to set an attribute noindex in front-matter for some sites 2023-01-18 16:55:33 +01:00
Florian
de960997bc option to write the reading time in the same language as the site 2023-01-18 16:51:20 +01:00
panr
20fc1079fa update footer links 2023-01-02 23:19:52 +01:00
panr
1d7e65f42e fix external static style.css path (part 2) 2022-12-09 15:54:14 +01:00
panr
613325cba0 fix external static style.css path 2022-12-08 23:42:23 +01:00
Aliaksei Yazhou
c1952eb7d5 #389 Added additional check if color param is empty string 2022-11-17 00:55:10 +02:00
panr
1e65ffdf24 Layout fixes 2022-11-13 22:45:10 +01:00
panr
39ba3a4ea9 Simplify menus 2022-11-08 00:34:01 +01:00
panr
8b28b06e72 Fix cover param for og:image 2022-11-06 10:31:25 +01:00
panr
3a101141d0 Fix menu layout and bring back spacer element 2022-11-06 10:05:46 +01:00
Radek Kozieł
c5febe957a Fix menu layout 2022-11-06 09:16:27 +01:00
Rui Miguel Silva Seabra
45dd9bd29e Fix menu's by properly enclosing the inner ul's into li's as it should be. 2022-11-03 19:05:40 +00:00
panr
855855cd60 Fix .Lastmod context 2022-10-24 16:31:41 +02:00
panr
ea5c6aa798 Update templates and README 2022-10-22 13:30:32 +02:00
panr
4fdd77c871 minor fixes 2022-06-21 21:30:21 +02:00
panr
5cf4720aff change menu behavior 2022-06-21 17:15:11 +02:00
panr
7f097d7700 refactor from PostCSS to SASS 2022-06-21 17:14:59 +02:00
panr
56791937ff init module 2022-06-21 15:50:51 +02:00