LSweetSour
2d6f7c84c6
fix: Correct Lastmod field access in OpenGraph meta tags
...
- Updated the OpenGraph meta tags to correctly access the Lastmod field.
- For pages, use .Lastmod instead of .Site.Lastmod.
- For non-pages, use .Site.LastChange instead of .Site.Lastmod.
- Ensured proper formatting for published and modified times in OpenGraph meta tags.
The original content caused issues on Cloudflare Pages due to incorrect access of the Lastmod field, leading to build failures.
2024-09-28 13:53:59 +08:00
Jimmy Cai
048a000f17
release: 3.27.0
2024-09-07 18:57:23 +02:00
Jimmy Cai
5f157478aa
fix(exampleSite): site config key paginate
was deprecated ( #1057 )
...
fix: site config key paginate was deprecated
2024-09-07 18:51:18 +02:00
Jimmy Cai
8556681b7c
doc: add markup.goldmark.extensions.passthrough
in exampleSite ( #1056 )
...
Related: https://github.com/CaiJimmy/hugo-theme-stack/issues/1019
2024-09-07 18:47:15 +02:00
powerfullz
fa760d70cb
fix: use css.Sass
instead of deprecated resources.ToCSS
( #1054 )
2024-09-07 18:42:07 +02:00
Syafa Adena
bdcab89d86
chore: bump Twikoo front-end to latest released version 1.6.39
( #1021 )
2024-09-07 18:14:57 +02:00
saikadaramakaisosjupita
b3907acdae
doc: add backslash to baseURL
in exampleSite ( #1009 )
2024-09-07 17:59:59 +02:00
Vladimir Vitkov
23ff70d41a
feat(i18n): add Bulgarian translations ( #1007 )
2024-09-07 17:56:17 +02:00
ensag-dev
41a3e5ee13
feat(i18n): add Occitan translations ( #1034 )
2024-09-07 17:52:40 +02:00
DashJay
0558108e30
feat(comments): add support to Gitalk proxy
parameter ( #1012 )
...
Co-authored-by: Jimmy Cai <hi@jimmycai.com>
2024-09-07 17:18:03 +02:00
Anthony Simmon
12f31dfd8a
fix: use Hugo's default RSS template value source for lastBuildDate ( #1006 )
...
Use Hugo's default RSS template value source for lastBuildDate
2024-09-07 14:22:17 +02:00
weeix
374b25a60f
fix(i18n): fix unlocalized article publish/lastUpdated date ( #1050 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/1040
2024-09-07 13:48:09 +02:00
Jimmy Cai
fcd56dd21c
fix: article category overflow ( #1055 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/1045
2024-09-07 13:25:26 +02:00
Jimmy Cai
fddab05362
release: 3.26.0
2024-05-02 23:28:01 +02:00
Jimmy Cai
f3783856ad
feat: add article.headingAnchor
parameter and use CSS pseudo-element to display #
symbol of heading anchor ( #1016 )
...
* feat: add `article.headingAnchor` parameter
* feat: use CSS pseudo-element to display `#` symbol of heading anchor
This prevents RSS feed readers and screen readers from seeing an extra `#`.
* Deactivate `article.headingAnchor` by default
2024-05-02 23:27:17 +02:00
Jimmy Cai
130e2f6607
feat: display header anchor on hover ( #999 )
2024-03-30 23:22:18 +01:00
Jimmy Cai
ce798a32a9
release: 3.25.0
2024-03-27 17:01:23 +01:00
Jimmy Cai
609d43b088
fix: make KaTeX render all math inside document.body
( #994 )
...
Since it only accepts one element, I cannot pass `.article-content` and `#TableOfContent` to it. The official documentation uses `document.body` directly, so I guess that's fine.
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/882
2024-03-27 16:38:30 +01:00
Jimmy Cai
797949b37f
fix: rename .social-menu
to .menu-social
to avoid being blocked by ad blockers ( #993 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/924
2024-03-27 16:24:03 +01:00
Jimmy Cai
539c39d69a
feat: add anchor link to markdown heading ( #992 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/935
2024-03-27 16:08:19 +01:00
Jimmy Cai
f8466d94d2
fix(i18n): wrap footer.builtWith
with double quotes in Japanese translation ( #991 )
2024-03-27 16:01:43 +01:00
Shun Sakai
43e074364c
feat(i18n): update translations for ja
( #984 )
...
* feat(i18n): update translations for `ja`
* Apply review suggestions
2024-03-27 11:21:32 +01:00
andrewmoise
b2157bdf78
docs: update some invalid documentation links ( #983 )
...
Update some documentation links (some were dead links)
2024-03-27 11:09:17 +01:00
Jimmy Cai
23607527e4
fix: use page resource permalink in link image ( #990 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/982
2024-03-27 10:58:22 +01:00
Jimmy Cai
54a8ace564
release 3.24.2
2024-03-17 20:41:27 +01:00
Andreas Deininger
b3fbe78ca5
fix: deprecation warning for .Site.Author
( #979 )
...
Fix deprecation warning for .Site.Author, deprecated in Hugo 0.124.0
2024-03-17 20:40:56 +01:00
Jimmy Cai
2cb5ba683b
fix: remove \n
character from meta description ( #980 )
2024-03-17 20:39:16 +01:00
Jimmy Cai
5a8607e4a8
release: 3.24.1
2024-03-12 14:52:03 +01:00
Andrew Doering
eafcf894c8
fix: favicon does not load if baseurl includes a subfolder ( #972 )
...
Use relURL https://gohugo.io/functions/urls/relurl/
2024-03-12 14:50:49 +01:00
Jimmy Cai
0b9f6c36ad
fix(head): prevent Go template from escaping HTML entities in meta description ( #973 )
2024-03-12 14:45:59 +01:00
Jimmy Cai
04bf1956b9
release: 3.24.0
2024-03-10 22:57:26 +01:00
Jiahao Li
6c7d42d45a
fix(sidebar): menu-bottom-section not showing in mobile ( #966 )
...
* fix(sidebar): Bottom section not showing in mobile
* fix(sidebar): Align bottom section to bottom
* fix(sidebar): Gap missing in bottom section
* refactor(sidebar): Simplify styles
* refactor(sidebar): Remove useless padding-left
* refactor(sidebar): Remove useless margin-top
* refactor(sidebar): Combine duplicate flex-direction
* refactor(sidebar): Remove redundant width
2024-03-10 22:56:30 +01:00
Andreas Deininger
2cda779706
feat: bump KaTeX to latest released version 0.16.9
( #969 )
...
Bump KaTeX to latest released version 0.16.9
2024-03-10 22:24:21 +01:00
Andreas Deininger
4948a3723e
fix: .Site.LastChange
deprecation ( #968 )
...
Fix the deprecation warning emitted from Hugo, and fix the typo in ` exampleSite/content/page/about/index.md`
2024-03-10 19:57:03 +01:00
Jimmy Cai
43224bd39a
feat: update Hugo version and minimum version requirement to 0.123.0 ( #970 )
2024-03-10 19:54:09 +01:00
Zeyu Huang
4e7865c185
fix(i18n): add missing zh-cn
translations ( #964 )
2024-03-06 09:37:31 +01:00
Jimmy Cai
2f9306502d
release: 3.23.0
2024-03-02 23:49:21 +01:00
Jiahao Li
5b0d6fdf7d
fix(sidebar): improve accessibility of sidebar bottom menu ( #925 )
...
* fix(menu): <ol> containing other than <li>, <script> or <template> elements
* fix(menu): add title to language select menu
2024-03-02 23:48:34 +01:00
L-Super
65cd7f586f
fix(comment): moved waline placeholder
parameter to locale.placeholder
( #914 )
...
fix waline parameter
2024-03-02 23:39:43 +01:00
Jiarong Hong
f398fb9dd1
feat(comments): add support for Beaudar(表达)comment system ( #931 )
...
https://beaudar.lipk.org/
2024-03-02 23:33:11 +01:00
James McMurry
9bb3165ff0
fix(sidebar): translation selector - avoid cast per PR #950 ( #961 )
...
avoid cast per PR #950
2024-03-02 23:16:27 +01:00
Jimmy Cai
405e84291a
release: 3.22.0
2024-02-26 12:44:11 +01:00
James McMurry
800f815988
fix(sidebar): hide translations selector if only one translation available ( #950 )
...
hide translations menu if only one translation available
2024-02-26 12:43:14 +01:00
kragleh
255abd5c88
feat(i18n): add Slovak translation ( #930 )
2024-02-23 23:58:07 +01:00
flexxgaad
f53fc128bd
fix(config): site.DisqusShortname
and site.GoogleAnalytics
are deprecated ( #952 )
...
Remove deprecations. Fixes #895
2024-02-23 23:16:24 +01:00
WaterLemons2k
188e49ef41
fix(widgets): ensure params
is not nil ( #943 )
...
* fix(partials): ensure params always exist
If the `params` key is not defined in the config file, accessing `params` results in a `nil pointer evaluating interface {}` error because `params` does not exist.
This can be fixed by ensuring that params is always a map.
* style(widgets): `default` no pipes required
2024-02-23 23:00:39 +01:00
Gleb A
76dc61f0d5
feat(i18n): add Belarusian translation ( #937 )
...
* feat(i18n): add Belarusian translation
* Removed .gitignore changes
2024-02-23 00:03:55 +01:00
Jimmy Cai
03ee3369e1
fix: title does not show pagination data ( #945 )
...
* fix: title does not show pagination data
This is caused by partialCached. It turns out that the `.RelPermalink` is the same for all pages generated by the paginator, so they will show the same title as the first page.
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/941
* doc(exampleSite): set paginate to 3 to force pagination
2024-02-19 10:54:02 +01:00
Aman Rawat
21da06e448
feat(i18n): add Hindi translation ( #889 )
2023-10-28 23:59:27 +02:00
Jarao
20bf719411
fix(comments): twikoo icon & count text color not visible on dark theme ( #890 )
...
* fix(comments): twikoo icon & count text color
* fix(comments): twikoo prompt color
2023-10-28 23:51:05 +02:00