Commit graph

47 commits

Author SHA1 Message Date
jeffreytse
17de6a6bfd chore: change the default article excerpt size 2021-01-23 17:12:40 +08:00
jeffreytse
d2f3025958 fix: invalid integer in get_article_excerpt function 2021-01-11 18:48:37 +08:00
jeffreytse
4be8ad5418 fix: article excerpt was incorrect for cjk content 2021-01-11 18:36:18 +08:00
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
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
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
b43b6bd748 fix: footer display issue when no author 2020-12-09 09:52:51 +08:00
jeffreytse
6ce4a254e4 fix: wrong default value of night mode 2020-10-15 17:05:26 +08:00
jeffreytse
20cd65baba fix: wrong option name of night mode 2020-10-11 16:32:44 +08:00
jeffreytse
c8e4149792 feat: add config option for night mode 2020-10-10 14:13:34 +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
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
5ad3ccd7b2 fix: wrong disqus source 2020-09-23 16:16:20 +08:00
jeffreytse
740fbd3e0a fix: wrong relative urls 2020-09-22 11:07:09 +08:00
jeffreytse
fa7475dc5e fix: wrong relative url in sidebar extensions (#1) 2020-09-12 01:52:50 +08:00
jeffreytse
33e006dbca feat: auto collapsed menu by heading amount 2020-09-01 10:55:01 +08:00
jeffreytse
9b5b05463d feat: auto collapsed menu 2020-08-31 17:21:45 +08:00
jeffreytse
690e71acfc fix: wrong relative banner url 2020-08-31 17:16:31 +08:00
jeffreytse
2363157807 feat: add reading time and icons 2020-07-16 19:25:52 +08:00
jeffreytse
87cf6bca65 feat: add get reading time function 2020-07-16 19:24:05 +08:00
jeffreytse
5b605ecabb feat: change paginator style 2020-07-12 17:39:23 +08:00
jeffreytse
413f0997d9 feat: change theme styles 2020-07-12 16:23:23 +08:00
jeffreytse
50a9106b6c feat: change article menu style 2020-07-12 16:19:42 +08:00
jeffreytse
b83c3ac237 chore: remove random banner 2020-07-10 22:30:32 +08:00
jeffreytse
9204cde353 feat: use highlightjs as highlighter 2020-07-10 22:27:56 +08:00
jeffreytse
5d8928659e chore: default transparent header and trim text 2020-07-10 22:25:49 +08:00
jeffreytse
b0ff0b029e fix: correct gitment issue 2019-12-12 13:48:08 +08:00
jeffreytse
e80f1b5c8a fix: correct some html tags, css properties 2019-12-05 19:09:26 +08:00
jeffreytse
8c1cde8fc9 feat: auto hide empty article menu 2019-12-05 19:07:34 +08:00
Jeffrey Tse
bc91aa6b73 fix: corrcet hash locate, menu item hilight issues 2019-09-24 15:19:05 +08:00
Jeffrey Tse
cda49e0301 update: perfect animation, compatibility issue 2019-09-24 14:10:57 +08:00
Jeffrey Tse
92840887d2 fix: correct framework and trianglify issue 2019-09-20 17:41:48 +08:00
Jeffrey Tse
8a4923aea8 update: adjust header and banner 2019-09-20 15:45:37 +08:00
Jeffrey Tse
ce43bb9a6a update: header transparent, animation, banner, etc 2019-09-20 12:40:14 +08:00
Jeffrey Tse
fc7e421ae2 update: adjust header brand favicon, banner, etc 2019-09-19 14:14:23 +08:00
Jeffrey Tse
6fee628b13 fix: correct google analytics 2019-09-14 11:36:49 +08:00
Jeffrey Tse
af1450d90b feat: add favicon and header logo 2019-09-13 17:26:19 +08:00
Jeffrey Tse
9241888333 chore: adjust something about translate langs, etc 2019-09-13 15:52:19 +08:00
Jeffrey Tse
40b20a9a18 chore: adjust theme configuration, etc 2019-09-12 18:38:59 +08:00
Jeffrey Tse
61eae5c5f9 release: v1.0.0 2019-09-11 12:21:17 +08:00