Commit graph

15 commits

Author SHA1 Message Date
jeffreytse
404a26e6a9 feat: support banner heading and subheading styles 2021-06-25 14:16:44 +08:00
jeffreytse
245fe2a047 fix: get value from site config incorrectly
When the value is stored in a dictionary and the value isn't
presented in front matter, the get_value function can not get
value from the site config instead.
2021-06-25 14:13:00 +08:00
jeffreytse
f39f3884cc feat: add min_height option to banner 2021-06-17 21:51:00 +08:00
jeffreytse
cae6e2e549 feat: support advanced banner configuration
Support to configurate the banner opacity and height.
2021-06-17 20:39:11 +08:00
jeffreytse
9b06eb1ba9 style: revise liquid code syntax 2021-06-17 18:57:37 +08:00
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
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
fcdfc7ea09 feat: support dict object for get_value function 2021-01-08 11:51:40 +08:00
jeffreytse
a7d8a2977d fix: some function params not working 2020-09-29 12:54:54 +08:00
jeffreytse
87cf6bca65 feat: add get reading time function 2020-07-16 19:24:05 +08:00
Jeffrey Tse
9241888333 chore: adjust something about translate langs, etc 2019-09-13 15:52:19 +08:00
Jeffrey Tse
61eae5c5f9 release: v1.0.0 2019-09-11 12:21:17 +08:00