-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path_config.yml
233 lines (204 loc) · 6.64 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
# Site
name: "AMP Affiliately Jekyll Theme"
title: "AMP Affiliately Jekyll Theme"
description: "An AMP-ready Jekyll blog theme"
url: https://chriskyfung.github.io # the base hostname & protocol for your site, e.g. http://example.com
baseurl: '/amp-affiliately-jekyll-theme' # the subpath of your site, e.g. /blog
favicon: 'assets/images/favicon.png'
logo: 'assets/images/logo-plainSVG.svg'
permalink: /:year/:month/:day/:title
paginate: 6
timezone: 'Asia/Hong_Kong'
# Set <USERNAME>/<PROJECT> to display the button to the project
repository: chriskyfung/amp-affiliately-jekyll-theme
# Navigation Features
nav:
buttons:
gh_sponsors: true # Show GitHub Sponsors button
global:
home: false
menu: false
dropdown: false # Show menu with dropdown submenu
local:
items:
- name: Features
url: category/feature/
- name: Docs
url: category/doc/
- name: Samples
url: category/sample/
menu: true
title:
limit: 40
# Footer Features
footer:
col1:
title: Features
items:
- name: Responsive Design
url: responsive-web-design/
- name: Styles
url: style-guide/
- name: Media
url: media/
- name: Code Block
url: code/
- name: Post-Processing
url: post-processing/
col2:
title: Docs
items:
- name: Config Guide
url: config-guide/
- name: Front Matter Guide
url: front-matter-guide/
- name: Plugins and Extensions
url: plugins/
- name: Ads Settings
url: ads-settings/
# List Sorting
sort_categories: false
sort_tags: false
# Content Post-processing
target_blank: false
anchor_link: true
# Sidebar Features
sidebar:
featured: true
recent_posts: true
# Disqus Comments
amp_disqus:
shortname: 'chriskyfung' # Disqus shortname
url: 'https://chriskyfung.gitlab.io/disqus-amp/' #baseurl of your AMP disqus iframe element
height: 580
# Google Custom Search Engine ID
cse_id: 011006674894885990812:tjln7k0nyjx
# Analytics
ga4: 'G-HP4LN87NJE' # Google Analytics 4 Measurement ID
# Google Ads
adstyle: true
adsense:
client_id: 'ca-pub-4819282024314540' # Google Adsense client ID
auto_ads: true
ad_slot:
# before_content: 2454411055 # Ad Slot that places before content
sidebar: 1391498756 # Ad Slot that places to sidebar
# Soical Buttons
social:
facebook: chriskyfung
pinterest: chriskyfung
github : chriskyfung
medium: chriskyfung
# Buy Me a Coffee
buymeacoffee: chriskyfung
# Copyright
copyright:
prefix:
ownership: Chris KY FUNG
link: https://chriskyfung.github.io/
# Cookie Consent Notice
consent: true
consent_preview: false
amp_optimizer: true
# consent_dev_mode: false
# script_hash:
# consent_gsc: sha384-n2-YMnb2FkeDk-Ca2pVnoYSR2FqNKqKgTwfK_UI0EAeVRCAHgCDjsecHJpVMv3Sl
iubenda:
siteId: 3904687 # Your own site ID
cookiePolicyId: 30443530 # Your own cookie policy ID
remote_consent_url: https://bit.ly/iubenda-cs-for-amp # Your own remote consent URL
tp_btn_style: false
tp_btn_position: 'bottom-left'
# Build settings
plugins:
- jekyll-archives
- jekyll-feed
- jekyll-github-metadata
- jekyll-paginate
- jekyll-redirect-from
- jekyll-seo-tag
- jekyll-sitemap
# Archives
jekyll-archives:
enabled:
- categories
- tags
layout: archive
permalinks:
category: '/category/:name/'
tag: '/tag/:name/'
# Other
markdown: kramdown
highlighter: rouge
# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
exclude:
- .jekyll-cache/
- .sass-cache/
- frontmatter.json
- Gemfile
- Gemfile.lock
- gemfiles/
- gulpfile.js
- LICENSE
- node_modules/
- package-lock.json
- package.json
- README.md
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
############################################################
# Site configuration for the WebP Generator Plugin
# The values here represent the defaults if nothing is set
webp:
enabled: false
# The quality of the webp conversion 0 to 100 (where 100 is least lossy)
quality: 75
# List of directories containing images to optimize, nested directories will only be checked if `nested` is true
# By default the generator will search for a folder called `/img` under the site root and process all jpg, png and tiff image files found there.
img_dir: ["/images/", "/assets/images"]
# Whether to search in nested directories or not
nested: true
# add ".gif" to the format list to generate webp for animated gifs as well
formats: [".jpeg", ".jpg", ".png", ".tiff"]
# File extensions for animated gif files
gifs: [".gif"]
# Set to true to always regenerate existing webp files
regenerate: false
# Local path to the WebP utilities to use (relative or absolute)
# Omit or leave as nil to use the utilities shipped with the gem, override only to use your local install
webp_path: nil
# List of files or directories to excludes
# e.g. custom or hand generated webp conversion files
exclude: []
# append '.webp' to filename after original extension rather than replacing it.
# Default transforms `image.png` to `image.webp`, while changing to true transforms `image.png` to `image.png.webp`
append_ext: false
############################################################