21 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
Mirus
4779fd62c0 chore: show figure only on post pages 2024-08-23 14:35:27 +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
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
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
T2hhbmEK
1093ce9610 fix summary not showing 2023-01-21 23:20:14 +08: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
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
56791937ff init module 2022-06-21 15:50:51 +02:00