2023-08-05 01:51:30 +08:00
|
|
|
|
# The Site Configuration
|
|
|
|
|
|
|
|
|
|
# Import the theme
|
|
|
|
|
theme: jekyll-theme-chirpy
|
|
|
|
|
|
|
|
|
|
# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites
|
|
|
|
|
# and doesn't have a custom domain.
|
|
|
|
|
baseurl: ""
|
|
|
|
|
|
|
|
|
|
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
|
|
|
|
|
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
|
|
|
|
|
# otherwise, the layout language will use the default value of 'en'.
|
|
|
|
|
lang: en
|
|
|
|
|
|
|
|
|
|
# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
|
2024-10-13 04:56:18 +08:00
|
|
|
|
timezone: Australia/West
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
|
|
|
|
|
# ↓ --------------------------
|
|
|
|
|
|
|
|
|
|
title: Peter Tanner # the main title
|
|
|
|
|
|
2024-02-18 04:33:38 +08:00
|
|
|
|
tagline: Electronic and software engineer that builds things sometimes. # it will display as the sub-title
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
description: >- # used by seo meta and the atom feed
|
2024-02-18 04:33:38 +08:00
|
|
|
|
Peter Tanner | Electronic and software engineer.
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
|
2024-02-18 22:11:26 +08:00
|
|
|
|
url: "https://www.petertanner.dev"
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
github:
|
|
|
|
|
username: peter-tanner # change to your github username
|
|
|
|
|
|
|
|
|
|
instagram:
|
|
|
|
|
username: __peterus
|
|
|
|
|
|
|
|
|
|
social:
|
|
|
|
|
# Change to your full name.
|
|
|
|
|
# It will be displayed as the default author of the posts and the copyright owner in the Footer
|
|
|
|
|
name: Peter Tanner
|
2024-10-13 04:56:18 +08:00
|
|
|
|
email: hello@petertanner.dev # change to your email address
|
2023-08-05 01:51:30 +08:00
|
|
|
|
links:
|
|
|
|
|
# The first element serves as the copyright owner's link
|
|
|
|
|
- https://github.com/peter-tanner # change to your github homepage
|
2024-02-18 04:53:07 +08:00
|
|
|
|
- https://www.linkedin.com/in/peter-tanner-
|
2023-08-05 01:51:30 +08:00
|
|
|
|
- https://instagram.com/__peterus # change to your twitter homepage
|
|
|
|
|
# Uncomment below to add more social links
|
|
|
|
|
# - https://www.facebook.com/username
|
|
|
|
|
|
2024-10-13 04:56:18 +08:00
|
|
|
|
|
|
|
|
|
# Site Verification Settings
|
|
|
|
|
webmaster_verifications:
|
|
|
|
|
google: # fill in your Google verification code
|
|
|
|
|
bing: # fill in your Bing verification code
|
|
|
|
|
alexa: # fill in your Alexa verification code
|
|
|
|
|
yandex: # fill in your Yandex verification code
|
|
|
|
|
baidu: # fill in your Baidu verification code
|
|
|
|
|
facebook: # fill in your Facebook verification code
|
|
|
|
|
|
2023-08-05 01:51:30 +08:00
|
|
|
|
# ↑ --------------------------
|
|
|
|
|
# The end of `jekyll-seo-tag` settings
|
|
|
|
|
|
2024-10-13 04:56:18 +08:00
|
|
|
|
# Web Analytics Settings
|
|
|
|
|
analytics:
|
|
|
|
|
google:
|
|
|
|
|
id: # fill in your Google Analytics ID
|
|
|
|
|
goatcounter:
|
|
|
|
|
id: # fill in your GoatCounter ID
|
|
|
|
|
umami:
|
|
|
|
|
id: # fill in your Umami ID
|
|
|
|
|
domain: # fill in your Umami domain
|
|
|
|
|
matomo:
|
|
|
|
|
id: # fill in your Matomo ID
|
|
|
|
|
domain: # fill in your Matomo domain
|
|
|
|
|
cloudflare:
|
|
|
|
|
id: # fill in your Cloudflare Web Analytics token
|
|
|
|
|
|
|
|
|
|
# Pageviews settings
|
|
|
|
|
pageviews:
|
|
|
|
|
provider: # now only supports 'goatcounter'
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
# Prefer color scheme setting.
|
|
|
|
|
#
|
|
|
|
|
# Note: Keep empty will follow the system prefer color by default,
|
|
|
|
|
# and there will be a toggle to switch the theme between dark and light
|
|
|
|
|
# on the bottom left of the sidebar.
|
|
|
|
|
#
|
|
|
|
|
# Available options:
|
|
|
|
|
#
|
|
|
|
|
# light - Use the light color scheme
|
|
|
|
|
# dark - Use the dark color scheme
|
|
|
|
|
#
|
|
|
|
|
theme_mode: dark # [light|dark]
|
|
|
|
|
|
|
|
|
|
# The CDN endpoint for images.
|
|
|
|
|
# Notice that once it is assigned, the CDN url
|
|
|
|
|
# will be added to all image (site avatar & posts' images) paths starting with '/'
|
|
|
|
|
#
|
|
|
|
|
# e.g. 'https://cdn.com'
|
2024-10-13 04:56:18 +08:00
|
|
|
|
cdn:
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
# the avatar on sidebar, support local or CORS resources
|
2023-08-05 14:35:42 +08:00
|
|
|
|
avatar: assets/img/avatar.jpg
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
# boolean type, the global switch for TOC in posts.
|
|
|
|
|
toc: true
|
|
|
|
|
|
|
|
|
|
comments:
|
2023-08-05 14:35:42 +08:00
|
|
|
|
active: "utterances" # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
|
2023-08-05 01:51:30 +08:00
|
|
|
|
# The active options are as follows:
|
|
|
|
|
disqus:
|
|
|
|
|
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
|
|
|
|
|
# utterances settings › https://utteranc.es/
|
|
|
|
|
utterances:
|
2024-02-24 21:55:06 +08:00
|
|
|
|
repo: "peter-tanner/peter-tanner.github.io" # <gh-username>/<repo>
|
2023-08-05 03:18:09 +08:00
|
|
|
|
issue_term: "pathname" # < url | pathname | title | ...>
|
2023-08-05 14:35:42 +08:00
|
|
|
|
label: "Comments"
|
|
|
|
|
theme: "preferred-color-scheme"
|
|
|
|
|
crossorigin: "anonymous"
|
2023-08-05 01:51:30 +08:00
|
|
|
|
# Giscus options › https://giscus.app
|
|
|
|
|
giscus:
|
|
|
|
|
repo: # <gh-username>/<repo>
|
|
|
|
|
repo_id:
|
|
|
|
|
category:
|
|
|
|
|
category_id:
|
|
|
|
|
mapping: # optional, default to 'pathname'
|
2024-10-13 04:56:18 +08:00
|
|
|
|
strict: # optional, default to '0'
|
2023-08-05 01:51:30 +08:00
|
|
|
|
input_position: # optional, default to 'bottom'
|
|
|
|
|
lang: # optional, default to the value of `site.lang`
|
|
|
|
|
reactions_enabled: # optional, default to the value of `1`
|
|
|
|
|
|
|
|
|
|
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
|
|
|
|
|
assets:
|
|
|
|
|
self_host:
|
|
|
|
|
enabled: # boolean, keep empty means false
|
|
|
|
|
# specify the Jekyll environment, empty means both
|
|
|
|
|
# only works if `assets.self_host.enabled` is 'true'
|
2024-10-13 04:56:18 +08:00
|
|
|
|
env: # [development | production]
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
pwa:
|
2024-10-13 04:56:18 +08:00
|
|
|
|
enabled: true # the option for PWA feature (installable)
|
|
|
|
|
cache:
|
|
|
|
|
enabled: true # the option for PWA offline cache
|
|
|
|
|
# Paths defined here will be excluded from the PWA cache.
|
|
|
|
|
# Usually its value is the `baseurl` of another website that
|
|
|
|
|
# shares the same domain name as the current website.
|
|
|
|
|
deny_paths:
|
|
|
|
|
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
paginate: 10
|
|
|
|
|
|
2024-10-13 04:56:18 +08:00
|
|
|
|
# The base URL of your site
|
|
|
|
|
baseurl: "https://www.petertanner.dev"
|
|
|
|
|
|
2023-08-05 01:51:30 +08:00
|
|
|
|
# ------------ The following options are not recommended to be modified ------------------
|
|
|
|
|
|
|
|
|
|
kramdown:
|
2024-10-13 04:56:18 +08:00
|
|
|
|
footnote_backlink: "↩︎"
|
2023-08-05 01:51:30 +08:00
|
|
|
|
syntax_highlighter: rouge
|
|
|
|
|
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
|
|
|
|
|
css_class: highlight
|
|
|
|
|
# default_lang: console
|
|
|
|
|
span:
|
|
|
|
|
line_numbers: false
|
|
|
|
|
block:
|
|
|
|
|
line_numbers: true
|
|
|
|
|
start_line: 1
|
|
|
|
|
|
|
|
|
|
collections:
|
|
|
|
|
tabs:
|
|
|
|
|
output: true
|
|
|
|
|
sort_by: order
|
|
|
|
|
|
|
|
|
|
defaults:
|
|
|
|
|
- scope:
|
|
|
|
|
path: "" # An empty string here means all files in the project
|
|
|
|
|
type: posts
|
|
|
|
|
values:
|
|
|
|
|
layout: post
|
|
|
|
|
comments: true # Enable comments in posts.
|
|
|
|
|
toc: true # Display TOC column in posts.
|
|
|
|
|
# DO NOT modify the following parameter unless you are confident enough
|
|
|
|
|
# to update the code of all other post links in this project.
|
|
|
|
|
permalink: /posts/:title/
|
|
|
|
|
- scope:
|
|
|
|
|
path: _drafts
|
|
|
|
|
values:
|
|
|
|
|
comments: false
|
|
|
|
|
- scope:
|
|
|
|
|
path: ""
|
|
|
|
|
type: tabs # see `site.collections`
|
|
|
|
|
values:
|
|
|
|
|
layout: page
|
|
|
|
|
permalink: /:title/
|
|
|
|
|
- scope:
|
|
|
|
|
path: assets/img/favicons
|
|
|
|
|
values:
|
|
|
|
|
swcache: true
|
|
|
|
|
- scope:
|
|
|
|
|
path: assets/js/dist
|
|
|
|
|
values:
|
|
|
|
|
swcache: true
|
2023-10-30 01:09:00 +08:00
|
|
|
|
- scope:
|
|
|
|
|
path: legacy_site
|
|
|
|
|
values:
|
|
|
|
|
swcache: true
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
sass:
|
|
|
|
|
style: compressed
|
|
|
|
|
|
|
|
|
|
compress_html:
|
|
|
|
|
clippings: all
|
|
|
|
|
comments: all
|
|
|
|
|
endings: all
|
|
|
|
|
profile: false
|
|
|
|
|
blanklines: false
|
|
|
|
|
ignore:
|
|
|
|
|
envs: [development]
|
|
|
|
|
|
|
|
|
|
exclude:
|
|
|
|
|
- "*.gem"
|
|
|
|
|
- "*.gemspec"
|
2024-10-13 04:56:18 +08:00
|
|
|
|
- docs
|
2023-08-05 01:51:30 +08:00
|
|
|
|
- tools
|
|
|
|
|
- README.md
|
|
|
|
|
- CHANGELOG.md
|
|
|
|
|
- LICENSE
|
2024-10-13 04:56:18 +08:00
|
|
|
|
- "*.config.js"
|
2023-08-05 01:51:30 +08:00
|
|
|
|
- rollup.config.js
|
|
|
|
|
- node_modules
|
|
|
|
|
- package*.json
|
2023-08-05 01:55:39 +08:00
|
|
|
|
- legacy_site
|
2023-08-05 01:51:30 +08:00
|
|
|
|
|
|
|
|
|
jekyll-archives:
|
|
|
|
|
enabled: [categories, tags]
|
|
|
|
|
layouts:
|
|
|
|
|
category: category
|
|
|
|
|
tag: tag
|
|
|
|
|
permalinks:
|
|
|
|
|
tag: /tags/:name/
|
|
|
|
|
category: /categories/:name/
|