Commit Graph

34 Commits

Author SHA1 Message Date
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