Commit Graph

615 Commits

Author SHA1 Message Date
Jimmy Cai
c6d1d73dd2
chore: update issue report template to include minimal reproducible example (#864) 2023-08-17 11:15:07 +02:00
Brandon Szeto
5d90624441
doc: Inline math example previously not working as intended (#834)
Inline math example previously not working as intended
2023-08-16 14:21:23 +02:00
Jimmy Cai
5edd4afaf3 release: 3.18.0 2023-08-15 13:17:22 +02:00
Jimmy Cai
41c3033d1a
feat(article): add style to <kbd> tag (#862)
* fix: set `unsafe` to true for exampleSite

To display `<kbd>` tag correctly

* feat(article): add style to `kbd` tag

* feat: improve `<kbd>` style
2023-08-15 13:15:32 +02:00
Jimmy Cai
4e2e90da4c
fix: page translation links overflow (#861)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/788
2023-08-15 12:46:29 +02:00
Jimmy Cai
eefa686661
fix: add word-break: break-word; to <a> and <code> (#860)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/746
2023-08-15 11:47:48 +02:00
Jimmy Cai
1668ebc3e4
feat: use .RelPermalink for search JSON (#859)
Avoids CORS problem when the user inputs `baseurl` incorrectly.
2023-08-15 11:40:43 +02:00
Jimmy Cai
f7e442cabb
fix(search): reset lastSearch variable if keywords are empty (#858)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/832
2023-08-12 13:03:45 +02:00
Jimmy Cai
cabaf06ef2
fix: custom params on the language top level is deprecated (#857)
* fix: custom params on the language top level is deprecated

New with Hugo 0.112.0

closes #853

* ci: upgrade Netlify CI Hugo version to 0.117.0
2023-08-12 12:20:19 +02:00
Mehedi Hasan
26d2859f70
fix: very poor color contrast for default text (#845)
Resolves #754

Co-authored-by: Nick Kocharhook <nick@kocharhook.com>
2023-08-12 11:57:02 +02:00
Rich
51e0ec7f99
feat: allow footer copyright to be different to the site title (#839)
* Allow copyright to be different to the site title

* Add copyright to exampleSite
2023-08-12 11:29:56 +02:00
Jimmy Cai
13568d8ff0 release: 3.17.0 2023-07-18 00:07:02 +00:00
SimbaFs
2fb534f9a6
feat(i18n): update translations for zh-tw (#786)
* sync with latest

* translate zh-tw
2023-07-15 10:13:16 +08:00
Piotr Halama
58559c5b3f
feat(i18n): add missing plural forms for the Polish language (#818)
Add missing plural forms for the Polish language
2023-07-15 09:35:09 +08:00
Tsung-Yu Chan
0bc942bb12
fix: remark42 comment system won't show (#799) 2023-07-12 09:37:39 +08:00
Weltolk
a88fe3f5a7
chore: update twikoo version (#783) 2023-07-12 09:20:25 +08:00
Jacob Zhong
1bd4dcd415
fix(sidebar): add padding-bottom to the right sidebar (#765)
Add bottom padding to the right sidebar
2023-07-12 09:12:58 +08:00
Jimmy Cai
aae9cf67db
fix: typo in README: stater -> starter
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/764
2023-02-16 20:07:43 +01:00
Nagakawa Yuno
cb42d2041f
fix: KaTeX may render contents in gist under certain conditions (#755)
add gist to katex's ignoredClasses
2023-02-16 20:03:32 +01:00
ttheng3810
4272da7ee4
feat(i18n): add footer translation for ZH-TW (#748) 2022-12-29 21:18:14 +01:00
Parasomnia
d382ca993d
fix(comment/utterances): the target origin mismatch recipient window's origin (#735) 2022-12-06 14:55:40 +01:00
rock G
3ff06fe033
fix: anchor link need decode (#719) 2022-12-05 21:21:37 +01:00
Anh Nhat Tran
ff7a56a7ac
feat(i18n): add vietnamese translation (#717) 2022-12-03 13:27:55 +01:00
Jimmy Cai
196116f20d
fix: incorrect menu URL when baseURL is a subpath (#713) 2022-10-29 17:28:47 +02:00
Jimmy Cai
b03390d237
Revert "Merge branch 'canary' into master" (#712)
Revert "Merge branch 'canary' into master (#711)"

This reverts commit 8a597a5c9c.
2022-10-29 17:14:19 +02:00
Jimmy Cai
8a597a5c9c
Merge branch 'canary' into master (#711)
* refactor(i18n): simplify the structure of the translation file

* chore: prepare repository for v4.0.0-alpha

* chore: modify go.mod to v4

* refactor: migrate theme configuration to TOML

* fix: exampleSite not using correct theme

* feat: add favicon from assets folder

* refactor: drop linear grandient background feature

remove node-vibrant from dependencies

* feat: use Hugo's code block render hook to implement code copy button

Now it can have i18n support

* refactor: delete color.ts

* refactor: delete Emoji support post from example site

* refactor: drop support for `hidden` field in front matter

* feat: upgrade to PhotoSwipe v5

* chore: bump the required hugo version to 0.100.0

* refactor: remove PhotoSwipe from external.yaml

* fix: extra margin in search result

* fix: incorrect markdown heading level in example site

* refactor: remove some usages of `default` in template

No longer needed thanks to Hugo's configuration merge

* fix: one line codeblock style in firefox

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/564

* feat: add style to new codeblock

* feat: i18n support for codeblock copy text

* fix(menu): jitter when closing menu

It's caused by flexbox gap property, which can't animate

* fix(search): long text overflows under the Search icon

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/515
2022-10-29 17:02:24 +02:00
Jimmy Cai
d60083e055 release: 3.16.0 2022-10-29 14:46:07 +00:00
Jimmy Cai
5d34c3de44
fix(article): frontmatter field .ReadingTime should overwrite global configuration (#710) 2022-10-29 14:50:15 +02:00
MartinAramayo
30e033c660
feat(article): make long KaTeX equations scrollable in the x-axis (#706)
* Make long KaTeX equations scrollable in the x-axis

Suggested from: https://katex.org/docs/issues.html, I have tested it adding a long equation and activating a phone user agent.

* refactor: move KaTeX style to article.scss
2022-10-29 14:38:44 +02:00
Jimmy Cai
86314608e3 style: fix indent 2022-10-29 12:19:09 +00:00
Tom Morris
8611363549
feat: add rel=me to social links (#707)
Adds rel-me to social links

[rel="me"] is a commonly used way to show that that two websites or
social
media accounts are the same, and is used for authentication and proving
site ownership in a variety of ways.

[rel="me"]: https://indieweb.org/rel-me
2022-10-29 14:04:21 +02:00
Jimmy Cai
73437f24ea release: 3.15.0 2022-10-22 10:17:46 +00:00
gursi26
9b464bd9fc
feat(page): add keywords front matter field for better SEO (#664)
* added keywords metadata tag for google SEO

* fix: avoid empty keywords meta tag

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-10-22 12:13:24 +02:00
FarisZR
70f431ea18
feat: add a separate configuration field for site description (#672)
* Add an optional site description option

* Add site description to the example site (Chinese Auto-translated)
2022-10-22 11:56:38 +02:00
Ahmad Helaly
30fdd000f9
feat(article): add readingTime front matter field to overwrite global configuration (#701)
* add DisableReadTime for articles

* change frontmatter disableReadingTime to readingTime
2022-10-22 11:48:00 +02:00
星の光
ae497c4789
refactor(grid): avoid sidebar layout shift when main content loads slowly (#677)
Co-authored-by: Luguoba <80254980+luguoba@users.noreply.github.com>
2022-10-21 13:06:06 +02:00
Celso Miranda
299b80c5f8
feat(i18n): add european portuguese translation (#699)
Very subtle changes from the Brazilian Portuguese translation
2022-10-21 12:56:00 +02:00
Jimmy Cai
414a9915e5 release: 3.14.0 2022-10-02 09:59:23 +00:00
TsaiRongFu
378370f6db
docs: update the notes about favicon in the configuration file (#670)
* Update the notes about favicon in the configuration theme

* Update note about favicon

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-10-02 11:56:56 +02:00
Allen Guan
e1a85aa5cd
refactor(highlight): extract common parts of styles and keep line number visible when scrolling (#681)
* merge highlight.scss

* show line number when scroll
2022-10-02 11:38:42 +02:00
FarisZR
b1e8472bcf
feat(i18n): add categories cloud translation for Arabic (#673)
Add categories cloud translation
2022-09-29 16:30:47 +02:00
Mehedi Hasan
22d8a396ab
feat(i18n): update Bengali translation (#665) 2022-09-29 16:28:58 +02:00
Daniel Pessoa
94a1f4ade0
feat(i18n): add missing pt-BR translations (#680)
* feat(i18n): Add categoriesCloud for pt-BR
2022-09-29 16:25:58 +02:00
Dmitry Verkhoturov
8826674b1f
fix(comments): update Remark42 source code (#683)
update remark42 source code

Updated frontend code taken from https://remark42.com/docs/configuration/frontend/
2022-09-29 16:22:01 +02:00
Jimmy Cai
efd6f1de37
chore: simplify README.md 2022-09-17 15:38:44 +02:00
Wontory
72c5f4ea24
feat(i18n): added missing korean translation (categories cloud widget) (#653) 2022-08-03 20:49:10 +02:00
Jimmy Cai
5869a7ab83 release: 3.13.0 2022-07-31 10:55:27 +00:00
辛巳流火
d00dbc17bc
feat(comment): add strict and input-position to Giscus config (#648)
* 添加giscus设置选项

根据giscus官方文档,添加了data-strict和data-input-position设置选项

* feat: add strict and inputPosition to giscus config section

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-07-31 12:39:20 +02:00
Jimmy Cai
655b5102c4 fix(article): footnote reference does not work
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/632
2022-07-28 16:48:37 +00:00
Jimmy Cai
b02569add9 chore(github): delete unused Github actions 2022-06-11 12:45:39 +00:00