Commit Graph

48 Commits

Author SHA1 Message Date
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
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
73437f24ea release: 3.15.0 2022-10-22 10:17:46 +00:00
Jimmy Cai
414a9915e5 release: 3.14.0 2022-10-02 09:59:23 +00:00
Jimmy Cai
5869a7ab83 release: 3.13.0 2022-07-31 10:55:27 +00:00
Jimmy Cai
5608f0a5e1 release: 3.12.0 2022-06-10 22:54:12 +00:00
Jimmy Cai
69ac21d0f7 release: 3.11.0 2022-03-19 23:56:29 +00:00
Jimmy Cai
de9756291b
release: 3.10.0 2022-03-06 10:58:31 +01:00
Jimmy Cai
5449f786ac release: 3.9.0 2022-03-04 10:40:41 +01:00
Jimmy Cai
9f36a956ca release: 3.8.0 2022-02-06 19:36:10 +00:00
Jimmy Cai
9e08854681 release: 3.7.0 2022-01-20 11:12:16 +00:00
chenlianghong
bfd1eb8400
feat: add custom.ts (#461)
* feat: add custom.ts

* Load custom.ts only if it exists

This change avoids loading an empty .js file

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-01-19 16:35:15 +01:00
Jimmy Cai
d165621568
release: 3.6.0 2021-12-29 00:32:08 +01:00
Jimmy Cai
72a5e956ee
release: 3.5.0 2021-10-31 10:17:45 +01:00
Jimmy Cai
44fc94f008 release: 3.4.0 2021-10-23 10:00:42 +00:00
Jimmy Cai
e24f5672c3
release: 3.2.0 2021-08-25 12:25:11 +02:00
Jimmy Cai
90b6baccc1
release: 3.1.0 2021-08-15 12:05:12 +02:00
Jimmy Cai
1055adf498 release: 3.0.0 2021-08-08 16:24:02 +00:00
Jimmy Cai
1fa573dae3 release: version 2.5.0 2021-07-06 12:36:34 +02:00
Jimmy
70615246c5 release: v2.4.0 2021-06-21 18:50:24 +02:00
Jimmy Cai
1300e0d714
release: 2.3.0 2021-03-27 23:39:29 +01:00
Jimmy Cai
cef9fe2549
release: v2.2.0 2021-02-13 16:30:01 +01:00
Jimmy Cai
6c27767dac
release: 2.1.0 2021-02-12 14:57:51 +01:00
Jimmy Cai
8b17b8a4ee
feat: add data/external.yaml (#140)
* feat: add data/external.yaml

Manage all external resources URL in one file

* style: format data/external

* style(helper/external): error message

* remove whitespace
2021-02-12 13:21:43 +01:00
Jimmy Cai
464f4b1d3b chore: release 2.0.1 2020-12-26 09:14:49 +01:00
Jimmy Cai
e937a14367
chore: release 2.0.0 2020-12-23 23:21:50 +01:00
Jimmy Cai
358e63e799
feat(darkmode): dark mode toggle (#82)
* feat(darkmode): initial support for dark mode toggle

* fix(darkmode): add svg icons

* feat(darkmode): dispatch onColorSchemeChange event

* add head/darkmode

* feat(darkmode); add colorScheme config

* style: remove empty line

* refactor(darkmode): simplify code

* style: add comment for darkmode config

* i18n support for dark mode toggle

* Some renaming
2020-12-23 19:03:40 +01:00
Jimmy Cai
cea1064927
feat(footer): add copyright since & custom text (#74)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/55
2020-12-20 12:34:44 +01:00
Jimmy Cai
d205753323
refactor(i18n): translation key renaming (#68)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/63
2020-12-19 01:41:26 +01:00
Jimmy Cai
81c0b1ba9c i18n: add variables for footer translation 2020-11-28 12:29:43 +01:00
Victor Lourme
2b4f529404 i18n: added footer translations 2020-11-23 10:15:47 +01:00
Jimmy Cai
cd408279e4 release: 1.1.0 version 2020-11-08 00:28:30 +01:00
Jimmy Cai
a4418951d0
release: 1.0.5 version 2020-10-10 09:57:04 +02:00
Jimmy Cai
c6661196ad
release: version 1.0.4 2020-09-23 23:54:50 +02:00
Jimmy Cai
0bcfb160f1
fix: use .RelPermalink to include CSS 2020-09-20 11:33:32 +02:00
Jimmy Cai
96ff911c6e
feat(article): better syntax highlight style
Adapt to light & dark mode
2020-09-17 19:48:21 +02:00
Jimmy Cai
845834baa6
refactor(footer): add footer/include.html
To include HTML code for style and script
2020-09-17 19:47:03 +02:00
Jimmy Cai
8c4ad17a09
feat(footer): add rel="noopener" to footer links 2020-09-14 13:37:15 +02:00
Jimmy Cai
b064b5ef85
refactor: move partial/head.html and partial/footer.html 2020-09-11 22:41:40 +02:00
Jimmy Cai
af487e0f3f
feat(style): remove timeago.js, and improve article-time style 2020-09-03 11:47:55 +02:00
Jimmy Cai
3385a34d28 feat: load custom font asynchronously 2020-08-29 17:06:02 +02:00
Jimmy Cai
1b948ed8c8 refactor: include timeago.js from JSDelivr 2020-08-29 16:53:27 +02:00
Jimmy Cai
a6870541dd feat: add head/custom and footer/custom for inserting custom code 2020-08-24 20:48:31 +02:00
Jimmy Cai
18148dbc4f Place webfont at the bottom of the page 2020-08-22 16:14:12 +02:00
Jimmy Cai
c698d944e6 🎉 Initial commit 2020-08-22 13:20:08 +02:00