Improve the site config

This commit is contained in:
Cotes Chung 2021-04-20 04:34:11 +08:00
parent 6a45d7ccd1
commit e8296fe2e4
1 changed files with 4 additions and 9 deletions

View File

@ -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]