From 713819f8cb9ec063bc5eaddd59e1d070f5213163 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Thu, 16 Jul 2020 23:23:49 +0800 Subject: [PATCH] feat(config): add prismjs & updated_option --- _config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 9ca0189..eae675a 100644 --- a/_config.yml +++ b/_config.yml @@ -51,6 +51,11 @@ highlight: tab_replace: '' wrap: true hljs: false +prismjs: + enable: false + preprocess: true + line_number: true + tab_replace: '' # Home page setting # path: Root path for your blogs index page. (default = '') @@ -76,8 +81,8 @@ meta_generator: true ## http://momentjs.com/docs/#/displaying/format/ date_format: YYYY-MM-DD time_format: HH:mm:ss -## Use post's date for updated date unless set in front-matter -use_date_for_updated: false +## updated_option supports 'mtime', 'date', 'empty' +updated_option: 'mtime' # Pagination ## Set per_page to 0 to disable pagination