Commit graph

536 commits

Author SHA1 Message Date
Jimmy Cai
d89def07ac feat: i18n support for codeblock copy text 2022-06-12 14:26:20 +00:00
Jimmy Cai
7a710cbb55 feat: add style to new codeblock 2022-06-12 14:23:26 +00:00
Jimmy Cai
7b2fda70a4 fix: one line codeblock style in firefox
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/564
2022-06-12 14:06:08 +00:00
Jimmy Cai
751d7d1753 refactor: remove some usages of default in template
No longer needed thanks to Hugo's configuration merge
2022-06-12 13:51:46 +00:00
Jimmy Cai
de22945155 fix: incorrect markdown heading level in example site 2022-06-12 12:40:40 +00:00
Jimmy Cai
cdf50c757c fix: extra margin in search result 2022-06-12 12:37:30 +00:00
Jimmy Cai
fcaaadda63 refactor: remove PhotoSwipe from external.yaml 2022-06-12 12:30:52 +00:00
Jimmy Cai
dea878239a chore: bump the required hugo version to 0.100.0 2022-06-12 12:24:06 +00:00
Jimmy Cai
9d4ab5afcf feat: upgrade to PhotoSwipe v5 2022-06-12 12:10:17 +00:00
Jimmy Cai
e5f3cb11d5 refactor: drop support for hidden field in front matter 2022-06-12 11:42:35 +00:00
Jimmy Cai
6e5956b905 refactor: delete Emoji support post from example site 2022-06-12 11:42:13 +00:00
Jimmy Cai
b63e6a9c62 refactor: delete color.ts 2022-06-12 11:31:41 +00:00
Jimmy Cai
de08e29b00 feat: use Hugo's code block render hook to implement code copy button
Now it can have i18n support
2022-06-12 11:31:32 +00:00
Jimmy Cai
abf0c773aa refactor: drop linear grandient background feature
remove node-vibrant from dependencies
2022-06-12 10:55:57 +00:00
Jimmy Cai
ba3dbc4163 feat: add favicon from assets folder 2022-06-12 10:50:04 +00:00
Jimmy Cai
7d838dc7fd fix: exampleSite not using correct theme 2022-06-12 10:39:27 +00:00
Jimmy Cai
2d9c27a7c6 refactor: migrate theme configuration to TOML 2022-06-12 10:27:18 +00:00
Jimmy Cai
6cff36abee chore: modify go.mod to v4 2022-06-12 10:07:00 +00:00
Jimmy Cai
bd40dda7d9 chore: prepare repository for v4.0.0-alpha 2022-06-12 09:15:09 +00:00
Jimmy Cai
b66083e728 refactor(i18n): simplify the structure of the translation file 2022-06-12 09:13:39 +00:00
Jimmy Cai
b02569add9 chore(github): delete unused Github actions 2022-06-11 12:45:39 +00:00
Jimmy Cai
4546d74af3
chore(github): add browser info field to issue form 2022-06-11 14:37:39 +02:00
Jimmy Cai
c6ccfc8f26
fix(github): try to fix errors with the issue form 2022-06-11 14:32:34 +02:00
Jimmy Cai
5fe1b35ba5
chore(github): change issue report template to a form 2022-06-11 14:29:02 +02:00
Jimmy Cai
d53ba6ea20
docs(github): create issue config.yml
Disable blank issue
2022-06-11 14:00:36 +02:00
Jimmy Cai
722950c167 docs(github): remove feature request template
see https://github.com/CaiJimmy/hugo-theme-stack/discussions/630
2022-06-11 11:56:38 +00:00
rmdhnreza
3d09c23284
feat(article): GitLab Snippets Shortcode (#627) 2022-06-11 11:04:20 +02:00
Jimmy Cai
7a38f3ad50
chore: update Hugo version in Netlify CI 2022-06-11 10:59:20 +02:00
Jimmy Cai
5608f0a5e1 release: 3.12.0 2022-06-10 22:54:12 +00:00
Jimmy Cai
165c96a8e0 fix(comments): Twikoo dark mode emoji selector background
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/583

credit: https://github.com/CaiJimmy/hugo-theme-stack/issues/583#issuecomment-1096270207 (@rmdhnreza)
2022-06-10 22:43:16 +00:00
lonzzi
7142de24cc
fix(article): TOC link not working when the heading starts with digits (#603) 2022-06-11 00:39:16 +02:00
cubercsl
9aa6b4925b
fix(style): toc counter is incorrect when there are <a> in heading (#601)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/495, https://github.com/CaiJimmy/hugo-theme-stack/issues/589
2022-06-11 00:34:19 +02:00
Sajjad Shirazy
92a6d71ce5
feat(i18n): add Persian(Farsi) translation (#602) 2022-06-10 20:55:59 +02:00
Jimmy Cai
01eb9a4b0e
fix: check if DISQUS is loaded before accessing it (#626)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/571
2022-06-09 22:43:08 +02:00
Mehedi Hasan
49c0a2bc56
feat(i18n): add Bengali translation (#625) 2022-06-09 20:48:24 +02:00
luoboQAQ
9eec31f0b6
feat(comment): Update Waline to V2 version (#616)
*  feat(comment): 更新Waline至V2版本

* 保留placeholder属性
2022-06-08 18:30:52 +02:00
Simon Guest
772b9e3ba8
fix(article): regression in article copyright link box-shadow (#611)
Somewhere between hugo 0.88.1 and 0.98.0, box-shadow got applied
to the article copyright, which is an ugly regression.
2022-06-08 18:21:28 +02:00
Simon Guest
955bb8dd7f
feat(shortcodes): add quote shortcode, and example (#414)
* Add quote shortcode, and example

* Use trim to improve whitespace

* Allow for quote with neither author nor source

* Format code and move quote.scss to article.scss

This style is only used on the article page, so it makes more sense to have it there.

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-06-08 17:59:23 +02:00
Felix Niederwanger
0a5cbea10f
feat(i18n): add missing translation (it, nl) for categories (#614) 2022-06-05 19:01:31 +02:00
baptiste313
e8f1b8f7b7
chore: update dependencies (KaTeX, node-vibrant) (#477) 2022-06-05 18:50:27 +02:00
Weltolk
06c68e2aa2
chore: update twikoo version to 1.5.11 (#613) 2022-06-05 18:48:01 +02:00
Jimmy Cai
3a79e9856e
fix: read imageProcessing.cover.enabled correctly (#621) 2022-06-05 18:21:08 +02:00
Zsombor Udvardy
add8f364e0
feat(i18n): add Hungarian translation (#584) 2022-06-05 18:00:05 +02:00
Spence Churchill
5e350b92e8
refactor: rename "Related contents" to "Related content" (#567) 2022-06-05 17:20:08 +02:00
Allen Guan
58b1e0706a
feat: add general.scss and change link hover style (#550) 2022-06-05 17:00:14 +02:00
Niko Köser
14bb05c8db
docs(i18n): add German translation for categories widget (#596) 2022-06-05 13:02:41 +02:00
ti777777
c1fcec95a6
chore(README): fix a typo (#543) 2022-03-20 12:42:28 +01:00
Jimmy Cai
69ac21d0f7 release: 3.11.0 2022-03-19 23:56:29 +00:00
慕枫Go
8c04e8362c
fix(vssue): Vue version compatibility (#546) 2022-03-20 00:52:06 +01:00
RADDAH
c5eee559c2
fix(i18n/ar): update Reading Time localization for Arabic language (#527)
* update the localization based on Arabic syntax

readingTime variable updated to match the exact syntax for Arabic language

One variable in Arabic no need to add the count variable for 1 minute, there is a word to describe that specifically. 
Other variable localization updated to match Arabic grammar tenses.

* remove unnecessary leading space

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-03-20 00:41:18 +01:00