Skip to content

Commit e8296fe

Browse files
committed
Improve the site config
1 parent 6a45d7c commit e8296fe

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

_config.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ kramdown:
101101
line_numbers: true
102102
start_line: 1
103103

104-
# DO NOT change this unless you're a Pro user on Jekyll and Web development,
105-
# Or you think you're smart enough to change other relevant URLs within this template.
106-
permalink: /posts/:title/
107-
108104
collections:
109105
tabs:
110106
output: true
@@ -120,6 +116,9 @@ defaults:
120116
layout: post
121117
comments: true # Enable comments in posts.
122118
toc: true # Display TOC column in posts.
119+
# DO NOT modify the following parameter unless you are confident enough
120+
# to update the code of all other post links in this project.
121+
permalink: /posts/:title/
123122
-
124123
scope:
125124
path: _drafts
@@ -147,9 +146,6 @@ compress_html:
147146
envs: [development]
148147

149148
exclude:
150-
- vendor
151-
- Gemfile
152-
- Gemfile.lock
153149
- '*.gem'
154150
- '*.gemspec'
155151
- tools
@@ -158,8 +154,7 @@ exclude:
158154
- LICENSE
159155
- gulpfile.js
160156
- node_modules
161-
- package.json
162-
- package-lock.json
157+
- '*.json'
163158

164159
jekyll-archives:
165160
enabled: [categories, tags]

0 commit comments

Comments
 (0)