-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path_config.yml
165 lines (137 loc) · 4.28 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
# Site
name: "AMP Affiliately Jekyll Theme"
title: "AMP Affiliately Jekyll Theme"
description: "An AMP-ready Jekyll blog theme"
url: https://chriskyfung.github.io
baseurl: '/amp-affiliately-jekyll-theme'
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
# 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
# # AddThis Inline Share Buttons
# addthis:
# pid: ra-5d01c83d522ad580 # Addthis profile id
# wid: 7kfz # Addthis widget id
# 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
gtm: 'GTM-WQMQK3X' # Google Tag Manager 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 Start Year
copyright:
prefix:
ownership: Chris KY FUNG
link: https://chriskyfung.github.io/
# Cookie Consent Notice
consent: true
consent_dev_mode: false
# Plugins
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
# Directories and/or files from the conversion
exclude:
- frontmatter.json
- gulpfile.js
- LICENSE
- package-lock.json
- package.json
- README.md
############################################################
# 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
############################################################