Improve the site config

This commit is contained in:
Cotes Chung 2021-04-20 04:34:11 +08:00
parent 6a45d7ccd1
commit e8296fe2e4

View file

@ -101,10 +101,6 @@ kramdown:
line_numbers: true line_numbers: true
start_line: 1 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: collections:
tabs: tabs:
output: true output: true
@ -120,6 +116,9 @@ defaults:
layout: post layout: post
comments: true # Enable comments in posts. comments: true # Enable comments in posts.
toc: true # Display TOC column 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: scope:
path: _drafts path: _drafts
@ -147,9 +146,6 @@ compress_html:
envs: [development] envs: [development]
exclude: exclude:
- vendor
- Gemfile
- Gemfile.lock
- '*.gem' - '*.gem'
- '*.gemspec' - '*.gemspec'
- tools - tools
@ -158,8 +154,7 @@ exclude:
- LICENSE - LICENSE
- gulpfile.js - gulpfile.js
- node_modules - node_modules
- package.json - '*.json'
- package-lock.json
jekyll-archives: jekyll-archives:
enabled: [categories, tags] enabled: [categories, tags]