Commit Graph

233 Commits

Author SHA1 Message Date
1AoB
6debfec509 实习change 2023-11-03 2023-11-04 21:35:53 +08:00
1AoB
aa603ac70f 实习change 2023-11-03 2023-11-04 21:22:48 +08:00
1AoB
a4dbe0d8ca change shixi2023-11-03 2023-11-04 16:04:56 +08:00
1AoB
62657360a6 change Test categories 2023-11-02 17:57:13 +08:00
1AoB
cb6a342304 change 实习-2023-11-02 2023-11-02 17:44:22 +08:00
1AoB
56ca8b1629 change 实习-2023-11-02 2023-11-02 17:39:01 +08:00
1AoB
a868e9bdd7 change README 2023-11-02 10:35:07 +08:00
1AoB
5cf30a325e change README 2023-11-02 10:24:27 +08:00
1AoB
7a6b357e31 change README 2023-11-02 10:14:59 +08:00
1AoB
de36b04ab0 change README 2023-11-02 10:11:00 +08:00
1AoB
a4c4c489c9 change README 2023-11-02 10:07:46 +08:00
1AoB
b461936db1 change README 2023-11-02 10:01:52 +08:00
1AoB
c22c04ff0f change README 2023-11-02 09:58:22 +08:00
1AoB
4d52373968 change README 2023-11-02 09:48:19 +08:00
1AoB
334ccbdc0e change README 2023-11-02 09:46:36 +08:00
1AoB
63f76eeadf change README 2023-11-02 09:42:29 +08:00
1AoB
e396ac5e41 change README 2023-11-02 09:37:39 +08:00
1AoB
b31b2054ea change README 2023-11-02 09:35:21 +08:00
1AoB
d2359044d0 change README 2023-11-02 09:32:28 +08:00
1AoB
3f80904b87 change README 2023-11-02 09:29:35 +08:00
1AoB
e5100f9e18 change about 2023-11-02 00:51:10 +08:00
1AoB
631a1d7a18 change about 2023-11-02 00:48:38 +08:00
1AoB
2f0aae048d change about 2023-11-02 00:47:39 +08:00
1AoB
3c2ef63b58 change about 2023-11-02 00:42:17 +08:00
1AoB
149415a6cd change about 2023-11-02 00:41:17 +08:00
1AoB
a3d3f11f6d change about 2023-11-02 00:40:08 +08:00
1AoB
2de7a2ca2e change about 2023-11-02 00:38:38 +08:00
1AoB
bacb359913 change about 2023-11-02 00:36:00 +08:00
1AoB
83c691d404 change about 2023-11-02 00:34:15 +08:00
1AoB
0d533b37f2 change about 2023-11-02 00:32:28 +08:00
1AoB
21d6b82cb7 change about 2023-11-02 00:28:55 +08:00
1AoB
6239ef10ee change about 2023-11-02 00:01:37 +08:00
1AoB
dde0deedf5 change about 2023-11-01 23:58:15 +08:00
1AoB
b0d70df8ab change about 2023-11-01 23:55:58 +08:00
1AoB
7c78a41264 change about 2023-11-01 23:52:18 +08:00
1AoB
d245ec0d77 change about 2023-11-01 23:48:25 +08:00
1AoB
9c06fe1377 change about 2023-11-01 23:44:47 +08:00
1AoB
2062b8604e change about 2023-11-01 23:41:09 +08:00
1AoB
3dc4b45f9c change about 2023-11-01 23:40:14 +08:00
1AoB
6a7a5c1015 change about 2023-11-01 23:36:50 +08:00
1AoB
6792e10ae8 change about 2023-11-01 23:31:04 +08:00
1AoB
96f76200f7 change about 2023-11-01 23:29:33 +08:00
1AoB
dbbe99c608 change about 2023-11-01 23:24:41 +08:00
1AoB
687521155b change about 2023-11-01 23:21:24 +08:00
1AoB
6a0ab925b9 change about 2023-11-01 23:16:54 +08:00
1AoB
1762f7f690 change about 2023-11-01 23:15:14 +08:00
1AoB
5d6eff5199 change about 2023-11-01 22:56:42 +08:00
1AoB
84b29f3057 change about 2023-11-01 22:53:11 +08:00
1AoB
46717e4ba6 change about 2023-11-01 22:50:28 +08:00
1AoB
85aec98277 change about 2023-11-01 22:47:15 +08:00
1AoB
4e8dddfb5e change about 2023-11-01 22:37:34 +08:00
1AoB
d3cfe505d2 change about 2023-11-01 22:36:30 +08:00
1AoB
ce40aeb325 change about 2023-11-01 22:35:19 +08:00
1AoB
5d5c0f07c0 change about 2023-11-01 22:34:27 +08:00
1AoB
04ce910b7d change about 2023-11-01 22:30:26 +08:00
1AoB
7d5fdede77 change Wxn's blog 2023-11-01 22:15:31 +08:00
1AoB
c68a67c8f4 change Wxn's blog 2023-11-01 22:11:43 +08:00
Jimmy Cai
70bcf9cbe0 doc: added a note that exampleSite should not be used as a starter template 2023-09-07 21:30:32 +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
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
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
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
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
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
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
rmdhnreza
3d09c23284
feat(article): GitLab Snippets Shortcode (#627) 2022-06-11 11:04:20 +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
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
Zsombor Udvardy
add8f364e0
feat(i18n): add Hungarian translation (#584) 2022-06-05 18:00:05 +02:00
Jimmy Cai
de952be116 fix(exampleSite): cn.md -> zh-cn.md 2022-03-19 23:16:58 +00:00
Hugoo
1cfd39c627
feat(i18n): add Catalan translation (#557) 2022-03-20 00:14:26 +01:00
Konnyaku
da6a50ddb5
feat(i18n): add Chinese(Hong Kong) translation (#560) 2022-03-20 00:05:12 +01:00
zhixuan
2671f292fd
fix(exampleSite): wrong zh-cn about page filename (#562) 2022-03-20 00:00:08 +01:00
Jimmy Cai
7d1713d407 refactor(i18n): use lowercase language codes
Related with this Hugo issue: https://github.com/gohugoio/hugo/issues/7344
2022-03-09 15:04:24 +00:00
Jimmy Cai
b5d0c5b37d fix(exampleSite): cn -> zh-CN 2022-03-09 14:59:36 +00:00
Jimmy Cai
c122e5e9a1 chore(exampleSite): remove extra home menu item 2022-03-04 08:47:51 +00:00
Jimmy Cai
15d2040f7e chore(exampleSite): fix home menu item highlight 2022-03-04 08:46:27 +00:00
Jimmy Cai
c4e864a08d doc(exampleSite): move chinese-test post to /cn 2022-03-04 08:41:47 +00:00
FarisZR
0d0375a7fc
feat: add RTL Support and update demo site to Show Arabic/RTL content (#519)
* add LanguageDirection variable

* add .direction-rtl and .direction-ltr clases

* margin -right > margin-inline-end

* keep Codeblocks LTR

* switch to logical properties

* left -> inset-inline-start

* Add Arabic/RTL placeholder text

* Add arabic language

* remove space

* use Html Dir instead of class

* Move codeblock code to layout/article.css and fix 4 spaces codeblocks

* remove unused clases
2022-03-04 00:25:34 +01:00
Jimmy Cai
86ad00cf8c doc: add categories widget to exampleSite 2022-03-03 22:48:26 +00:00
Jimmy Cai
b3b8fa73ef
feat(article): add link to translated content (#511) 2022-02-27 09:48:57 +01:00
Jimmy Cai
4d552a9df5
feat: article page widget support (#488)
* feat: article page widget support

* refactor: get rid of article toolbar

Same 3 column layout for article page and homepage

* add missing space
2022-02-26 23:45:25 +01:00
Jimmy Cai
d75dbe2b6e
fix: copy code button does not work when line number is enabled (#487)
* fix: copy code button does not work when line number is enabled

* fix pre style

* Add gist shortcode to exampleSite
2022-02-06 20:32:37 +01:00
Jimmy Cai
88beecd101
fix: hyperlinked image (#485)
* fix: hyperlinked image

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

* feat: add support to inline images

* Remove unused code

* Remove data-alt-html
2022-02-06 19:58:10 +01:00
Marcel
7dc5def217
feat(comments): add https://cactus.chat support (#298)
* feat: Add https://cactus.chat as comments provider

* Add cactus comments config fields to exampleSite

* Add cactus css and js to external.yaml and move custom cactus css to html

* Remove unneeded cactus comments css

* Load external dependencies for cactus comments in the comments provider

* Use safeJS instead of safeHTML
2022-01-23 13:10:00 +01:00
zhixuan
0af9d23e49
feat(article): add scroll for table (#428)
* feat: table can't scroll & delete scrollbar style for Chromium

* Undo some line breaks

* Add a table with overflow to exampleSite
2022-01-20 12:09:25 +01:00
Jimmy Cai
a669b60cdd chore(exampleSite): make default pages use page bundle feature
To avoid confusions
2021-12-28 10:33:48 +00:00
Jimmy Cai
455e23f22b
feat: page links (#446) 2021-12-28 11:28:20 +01:00
Jimmy Cai
4e2c8e74be
fix: add missing diff syntax highlight (#445)
closes: https://github.com/CaiJimmy/hugo-theme-stack/issues/434
2021-12-28 10:48:22 +01:00
zhixuan
497643b363
feat: add alt message for archive & related contents images (#411) 2021-12-04 21:05:53 +01:00
volodymyrmarkiv
a7d316365c
feat(i18n): add Ukrainian translation (#404) 2021-10-30 21:22:08 +02:00
TonyPepeBear
ea74aecadb
feat(i18n): add zh-TW (#402) 2021-10-30 21:18:02 +02:00
Jimmy Cai
661e59b85d
feat: social menu (#401) 2021-10-23 11:58:55 +02:00
Jimmy Cai
7c59ac7713
refactor(menu): use .Params.icon to configure menu item icon (#400) 2021-10-23 09:18:44 +02:00
Christos Manios
ca9dcc870d
feat(i18n): add Greek translation (#378) 2021-10-22 16:12:44 +02:00
Ar-ruk Kachen
913a4e8898
feat(i18n): Thai language (#396) 2021-10-17 12:34:19 +02:00
WingLim
d8c9468c68
feat(comments): add Cusdis support (#372)
* feat: add cusdis support

* docs: add cusdis example config
2021-10-01 16:38:37 +02:00
zhixuan
57bfea8338
fix(shortcodes): mixed content error with bilibili and tencent video (#365) 2021-09-24 20:32:53 +02:00