Age | Commit message (Collapse) | Author |
|
Co-authored-by: Mark Chen <markchenyutian@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These functions include get_article_excerpt and get_article_words.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|