From e8296fe2e4b1911f064a6694484c2c384f0f5b8f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Tue, 20 Apr 2021 04:34:11 +0800 Subject: [PATCH] Improve the site config --- _config.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/_config.yml b/_config.yml index 54b857e..6608f19 100644 --- a/_config.yml +++ b/_config.yml @@ -101,10 +101,6 @@ kramdown: line_numbers: true start_line: 1 -# DO NOT change this unless you're a Pro user on Jekyll and Web development, -# Or you think you're smart enough to change other relevant URLs within this template. -permalink: /posts/:title/ - collections: tabs: output: true @@ -120,6 +116,9 @@ defaults: layout: post comments: true # Enable comments in posts. toc: true # Display TOC column in posts. + # DO NOT modify the following parameter unless you are confident enough + # to update the code of all other post links in this project. + permalink: /posts/:title/ - scope: path: _drafts @@ -147,9 +146,6 @@ compress_html: envs: [development] exclude: - - vendor - - Gemfile - - Gemfile.lock - '*.gem' - '*.gemspec' - tools @@ -158,8 +154,7 @@ exclude: - LICENSE - gulpfile.js - node_modules - - package.json - - package-lock.json + - '*.json' jekyll-archives: enabled: [categories, tags]