Commit graph

256 commits

Author SHA1 Message Date
jeffreytse
fac480f381 chore: reivise get_reading_time function 2021-01-11 18:34:51 +08:00
jeffreytse
a037056663 feat: add some article-related functions
These functions include get_article_excerpt and get_article_words.
2021-01-11 18:33:52 +08:00
jeffreytse
48d4da4f1b fix: reading time was incorrect for cjk words (#20)
The liquid filter `number_of_words` is for english words, so here
we use a calculation to estimate accurately the words, especially
when the language is not English.
2021-01-11 11:18:35 +08:00
jeffreytse
e3be95fe06 release: v1.7.0 2021-01-08 12:31:14 +08:00
jeffreytse
f3852ccd94 chore: add badge options and some comments 2021-01-08 12:19:13 +08:00
jeffreytse
7af0bc4701 chore: remove unused test ouput 2021-01-08 12:15:00 +08:00
jeffreytse
3f2e5824e2 feat: support configure the code badge (#19) 2021-01-08 12:12:57 +08:00
jeffreytse
c896442fcf refactor: migrate code highlight to an extension 2021-01-08 12:04:25 +08:00
jeffreytse
fcdfc7ea09 feat: support dict object for get_value function 2021-01-08 11:51:40 +08:00
jeffreytse
b8ed37973e fix: the dark mode of menu bar not appearing (#18) 2021-01-05 18:19:17 +08:00
jeffreytse
bc244e2404 docs: update README.md 2020-12-31 10:47:49 +08:00
jeffreytse
de4cd7fbce perf: better gitment css styles 2020-12-31 10:18:40 +08:00
jeffreytse
ae318f5d72 feat: better dark mode strategy (#15)
Whatever the user's choice is, it will supersede the default
setting of the site and be kept during the visit (session).
Only the dark mode setting is `manual`, the user's choise will
be always kept on every visit (i.e. no matter the browser
is closed or not)
2020-12-28 12:04:18 +08:00
jeffreytse
1b2d59fd18 chore: update welcome-tp-jekyll post 2020-12-13 22:28:59 +08:00
jeffreytse
523211a98f perf: better table overflow styles 2020-12-09 12:19:09 +08:00
jeffreytse
0cd573d183 chore: better transition to dark mode toggle 2020-12-09 09:53:43 +08:00
jeffreytse
b43b6bd748 fix: footer display issue when no author 2020-12-09 09:52:51 +08:00
jeffreytse
f37b72da7e chore: update FUNDING.yml 2020-12-08 12:40:29 +08:00
jeffreytse
7560332130 release: v1.6.4 2020-12-06 12:51:46 +08:00
jeffreytse
75c3ddb485 chore: add some important comments 2020-12-05 21:15:15 +08:00
jeffreytse
23a8b89415 fix: wrong display of code type badge in firefox (#11) 2020-12-04 19:19:22 +08:00
jeffreytse
d29ad66f02 fix: post content and tags overflow issue 2020-12-04 17:21:34 +08:00
jeffreytse
91d58a431b release: v1.6.3 2020-11-29 15:53:14 +08:00
jeffreytse
6e023282c5 feat: better inline code style 2020-11-29 15:42:49 +08:00
jeffreytse
1aff8cf843 feat: better default text color in light mode 2020-11-29 15:41:09 +08:00
jeffreytse
90d8a0c110 chore: update another-test-markdown post 2020-11-14 22:30:29 +08:00
jeffreytse
791ebc6281 perfect: better post nav style of article page 2020-10-19 11:09:14 +08:00
Rong Rong
97ee863d09
perfect: made theme toggle dynamic size (#9)
* Made theme toggle dynamic size

theme toggle now will break if font size is not default 14px

* fix: made theme toggle dynamic size better

Co-authored-by: JT <jeffreytse.mail@gmail.com>
2020-10-19 10:38:30 +08:00
jeffreytse
50541e8d3d chore: update about page 2020-10-18 22:58:28 +08:00
jeffreytse
6ce4a254e4 fix: wrong default value of night mode 2020-10-15 17:05:26 +08:00
jeffreytse
c05a6e49c3 chore: better table color style 2020-10-14 19:14:27 +08:00
jeffreytse
012ae587b7 release: v1.6.2 2020-10-13 17:08:15 +08:00
jeffreytse
18c42d869f chore: update _config.yml 2020-10-13 17:07:48 +08:00
jeffreytse
f11fe37d2a chore: update demo post 2020-10-13 17:04:34 +08:00
jeffreytse
20cd65baba fix: wrong option name of night mode 2020-10-11 16:32:44 +08:00
jeffreytse
66768c0500 release: v1.6.1 2020-10-10 14:18:49 +08:00
jeffreytse
c8e4149792 feat: add config option for night mode 2020-10-10 14:13:34 +08:00
jeffreytse
a10b6a50ce chore: update example post 2020-10-10 14:11:15 +08:00
jeffreytse
4e8e2889d4 docs: update README.md 2020-10-05 12:38:49 +08:00
jeffreytse
08ff9ccf5c release: v1.6.0 2020-10-03 13:52:09 +08:00
jeffreytse
8de0ecbca6 docs: update README.md 2020-10-03 12:50:16 +08:00
jeffreytse
023ba51a08 perfect: improve browser compatibility 2020-10-03 12:23:29 +08:00
jeffreytse
ba1db7db3e feat: add night mode (#4) 2020-10-03 11:55:14 +08:00
jeffreytse
a1b848bb55 perfect: better style stuffs 2020-10-03 10:39:18 +08:00
jeffreytse
ab22549fb8 release: v1.5.5 2020-09-29 13:02:38 +08:00
jeffreytse
1de75165bb feat: change default date format 2020-09-29 13:02:28 +08:00
jeffreytse
1909d09600 fix: header_transparent option not working 2020-09-29 12:55:26 +08:00
jeffreytse
a7d8a2977d fix: some function params not working 2020-09-29 12:54:54 +08:00
jeffreytse
0e8b292bd0 perfect: better word-break (#3) 2020-09-29 12:46:54 +08:00
jeffreytse
5ad3ccd7b2 fix: wrong disqus source 2020-09-23 16:16:20 +08:00