forked from MrGreensWorkshop/MrGreen-JekyllTheme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
122 lines (107 loc) · 4.53 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
###########################################################
# Global Configuration (https://jekyllrb.com/docs/configuration/options/)
###########################################################
# if you want to force HTTPS, specify the domain without the http at the start
# set domain: "your_github_user_name.github.io"
domain: ""
# your web site url
# for GitHub Pages, url: "https://your_github_user_name.github.io"
url: ""
# path to this site
# if your page is located at https://your_github_user_name.github.io/blog, then set baseurl: "/blog"
baseurl: ""
# please use TZ database name column on the list table
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
#timezone: ""
###########################################################
# Front Matter Defaults (https://jekyllrb.com/docs/configuration/front-matter-defaults/)
###########################################################
defaults:
# for posts
- scope:
# to separate language posts folders
path: "_posts"
values:
layout: "post"
permalink: /posts/:path
# for multilingual posts
- scope:
# to separate language posts folders
path: "*/_posts"
values:
hidden: true
layout: "post"
permalink: /:path
# example: enable setting for all pages. You may still need to enable some setting from _data/conf/posts.yml or _data/conf/main.yml
# - scope:
# # an empty string here means all files in the project
# path: ""
# values:
# image_viewer_on: true
# image_lazy_loader_on: true
###########################################################
# Markdown Options (https://jekyllrb.com/docs/configuration/markdown/)
# Configuring Jekyll in your GitHub Pages site (https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll)
###########################################################
# This is default for GitHub Pages sites and cannot be changed.
highlighter: rouge
markdown: kramdown
kramdown:
# This is default for GitHub Pages sites and cannot be changed.
syntax_highlighter: rouge
###########################################################
# Plugins (Plugins supported by GitHub Pages https://pages.github.com/versions/)
###########################################################
plugins:
- jekyll-paginate
- jekyll-redirect-from
# since GitHub Pages runs jekyll with "--safe" flag, we need to add supported plugins in here. (only github supported plugins are allowed)
whitelist:
- jekyll-paginate
- jekyll-redirect-from
###########################################################
# jekyll-paginate (https://jekyllrb.com/docs/pagination/)
###########################################################
paginate_path: "/tabs/blog/:num"
# number of post per page
# make sure this matches with post_query_paginator_post_per_page in _data/conf/posts.yml
paginate: 5
###########################################################
# jekyll-redirect-from (https://github.com/jekyll/jekyll-redirect-from)
###########################################################
redirect_from:
# Disabling generation of redirects.json
json: false
###########################################################
# html compression (https://jch.penibelst.de)
###########################################################
compress_html:
clippings: all
comments: all
#endings: all
profile: false
blanklines: false
ignore:
# disable this feature for development env.
envs: [development]
###########################################################
# js compression (for removing comments(/**/only), line breaks and spaces)
# for debugging js files, simply set linebreak_and_space: false (in production env, this will be enabled automatically)
# for more info about environments (https://jekyllrb.com/docs/configuration/environments/)
###########################################################
compress_js:
# enable or disable line breaks and space removal feature for development env.
linebreak_and_space: false
# disable this feature entirely for development or production env.
#ignore: development
###########################################################
# Sass (https://jekyllrb.com/docs/assets/)
###########################################################
sass:
sass_dir: assets/_scss
# enable css compression
style: compressed
###########################################################
# Exclude these files or folders from production site
###########################################################
exclude: ["Gemfile*", "vendor", ".github", ".vscode", "README*", "LICENSE", "docs"]