~xdavidwu/xdavidwu.link

ref: 7f83cddef734e4632b89e57ba6c768c7031f5498 xdavidwu.link/_config.yml -rw-r--r-- 7.5 KiB
7f83cddexdavidwu author: links: add sourcehut 8 months ago
                                                                                
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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your entire site, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process.

# Theme Settings
#
# Review documentation to determine if you should use `theme` or `remote_theme`
# https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme

# theme: "minimal-mistakes-jekyll"
# remote_theme: "mmistakes/minimal-mistakes"
minimal_mistakes_skin: "custom" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
minimal_mistakes_light_skin: "custom-light" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"

# Site Settings
locale: "en-US"
title: "Hacking Life"
title_separator: "-"
subtitle: # site tagline that appears below site title in masthead
name: "xdavidwu"
description: ""
url: "https://xdavidwu.link" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
baseurl: "" # the subpath of your site, e.g. "/blog"
repository: # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
since: "2018"
license_url: "https://gitlab.xdavidwu.link/xdavidwu/xdavidwu.xdavidwu.link/-/blob/master/LICENSE"
teaser: # path of fallback teaser image, e.g. "/assets/images/500x300.png"
logo: # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
masthead_title: # overrides the website title displayed in the masthead, use " " for no title
# breadcrumbs: false # true, false (default)
words_per_minute: 200
comments:
  provider: "matrix" # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "staticman_v2" "custom"
  disqus:
    shortname: "parto-blog" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
  discourse:
    server: # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
  facebook:
    # https://developers.facebook.com/docs/plugins/comments
    appid:
    num_posts: # 5 (default)
    colorscheme: # "light" (default), "dark"
  utterances:
    theme: # "github-light" (default), "github-dark"
    issue_term: # "pathname" (default)
  staticman:
    branch: # "master"
    endpoint: # "https://{your Staticman v3 API}/v3/entry/github/"
  matrix:
    homeserver_url: "https://xdavidwu.link"
    homeserver: "xdavidwu.link"
    site: "xdavidwu.link"
    admin: "@xdavidwu:xdavidwu.link"
    bot: "@comment-bot:xdavidwu.link"
reCaptcha:
  siteKey:
  secret:
search: true # true, false (default)
search_full_content: false # true, false (default)
search_provider: "lunr" # lunr (default), algolia, google
algolia:
  application_id: # YOUR_APPLICATION_ID
  index_name: # YOUR_INDEX_NAME
  search_only_api_key: # YOUR_SEARCH_ONLY_API_KEY
  powered_by: # true (default), false
google:
  search_engine_id: # YOUR_SEARCH_ENGINE_ID
  instant_search: # false (default), true
# SEO Related
google_site_verification:
bing_site_verification:
yandex_site_verification:
naver_site_verification:

# Social Sharing
twitter:
  username:
facebook:
  username:
  app_id:
  publisher:
og_image: # Open Graph/Twitter default site image
# For specifying social profiles
# - https://developers.google.com/structured-data/customize/social-profiles
social:
  type: # Person or Organization (defaults to Person)
  name: # If the user or organization name differs from the site's name
  links: # An array of links to social media profiles

# Analytics
analytics:
  provider: false # false (default), "google", "google-universal", "google-gtag", "custom"
  google:
    tracking_id:
    anonymize_ip: # true, false (default)


# Site Author
author:
  name: "xdavidwu"
  avatar: /assets/img/avatar.jpg
  home: /about/
  bio: "Always debugging."
  location:
  links:
    - label: "Email"
      icon: "envelope-square"
      url: "mailto:xdavidwuph@gmail.com"
    - label: "PGP"
      icon: "lock"
      url: "/pgp-public-key.txt"
    - label: "sourcehut"
      icon: "circle-thin"
      url: "https://git.xdavidwu.link/~xdavidwu/"
    - label: "GitLab"
      icon: "gitlab"
      url: "https://gitlab.xdavidwu.link/xdavidwu/"
    - label: "GitHub"
      icon: "github"
      url: "https://github.com/xdavidwu/"
    - label: "Matrix"
      icon: "matrix-org"
      url: "https://matrix.to/#/@xdavidwu:xdavidwu.link"
    - label: "Pleroma"
      icon: "pleroma"
      url: "https://pleroma.xdavidwu.link/xdavidwu"

# Site Footer
footer:
  links:
    - label: "Twitter"
      icon: "twitter-square"
      # url:
    - label: "Facebook"
      icon: "facebook-square"
      # url:
    - label: "GitHub"
      icon: "github"
      # url:
    - label: "Source code"
      icon: "gitlab"
      url: "https://gitlab.xdavidwu.link/xdavidwu/xdavidwu.xdavidwu.link"
    - label: "Bitbucket"
      icon: "bitbucket"
      # url:
    - label: "Instagram"
      icon: "instagram"
      # url:
    - label: "Feed"
      icon: "rss-square"
      url: "/feed.xml"
    - label: "Back to top"
      icon: "angle-double-up"
      url: "#"


# Reading Files
include:
  - _pages
exclude:
  - .bundle
  - .jekyll-assets-cache
  - .sass-cache
  - assets/js/plugins
  - CHANGELOG.md
  - Gemfile
  - LICENSE
  - node_modules
  - package.json
  - package-lock.json
  - Rakefile
  - README.md
  - webpack.config.js
  - minimal-mistakes-jekyll.gemspec
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"


# Conversion
markdown: kramdown
highlighter: rouge
lsi: true
excerpt_separator: "\n\n"
incremental: false


# Markdown Processing
kramdown:
  input: GFM
  hard_wrap: false
  auto_ids: true
  footnote_nr: 1
  entity_output: as_char
  toc_levels: 1..6
  smart_quotes: lsquo,rsquo,ldquo,rdquo
  enable_coderay: false


# Sass/SCSS
sass:
  sass_dir: _sass
  style: compressed # https://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style


# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: "Asia/Taipei" # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones


# Plugins (previously gems:)
plugins:
  - jekyll-paginate
  - jekyll-sitemap
  - jekyll-feed
  - jekyll-include-cache
  - jekyll-tidy

# mimic GitHub Pages with --safe
whitelist:
  - jekyll-paginate
  - jekyll-sitemap
  - jekyll-feed
  - jekyll-include-cache


# Archives
#  Type
#  - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default)
#  - Jekyll Archives plugin archive pages ~> type: jekyll-archives
#  Path (examples)
#  - Archive page should exist at path when using Liquid method or you can
#    expect broken links (especially with breadcrumbs enabled)
#  - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
#  - <base_path>/categories/my-awesome-category/index.html ~> path: /categories/
#  - <base_path>/my-awesome-category/index.html ~> path: /
category_archive:
  type: liquid
  path: /categories/
tag_archive:
  type: liquid
  path: /tags/
# https://github.com/jekyll/jekyll-archives
# jekyll-archives:
#   enabled:
#     - categories
#     - tags
#   layouts:
#     category: archive-taxonomy
#     tag: archive-taxonomy
#   permalinks:
#     category: /categories/:name/
#     tag: /tags/:name/


jekyll_tidy:
  exclude:
    - assets/js/lunr/lunr-en.js

# Defaults
defaults:
  # _posts
  - scope:
      path: ""
      type: posts
    values:
      layout: single
      author_profile: true
      read_time: true
      comments: true
      share: true
      related: true