nixos/spec/web/site/_config.yml

137 lines
2.8 KiB
YAML
Raw Permalink Normal View History

2024-01-15 15:39:28 +08:00
theme: "jekyll-theme-chirpy"
lang: "en"
timezone: "Asia/Hong_Kong"
title: "514fpv"
tagline: "Unconscious requiem in the sky"
description: >-
Unconscious requiem in the sky
url: "https://514fpv.one"
avatar: "/assets/img/koishi-margin-noalpha.png"
social_preview_image: "/assets/img/koishi0.png"
toc: true
theme_mode:
github:
username: "514fpv"
twitter:
username: "514fpv"
social:
name: "514fpv"
email: "koishi@514fpv.one"
links:
- "https://src.514fpv.io:2096/koishi"
- "https://youtube.com/@514fpv"
assets:
self_host:
enabled: true
env: production
pwa:
enabled: true
paginate: 8
baseurl: ""
comments:
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
# 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:
repo: # <gh-username>/<repo>
issue_term: # < url | pathname | title | ...>
# Giscus options https://giscus.app
giscus:
repo: # <gh-username>/<repo>
repo_id:
category:
category_id:
mapping: # optional, default to 'pathname'
input_position: # optional, default to 'bottom'
lang: # optional, default to the value of `site.lang`
reactions_enabled: # optional, default to the value of `1`
# ------------ The following options are not recommended to be modified ------------------
kramdown:
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.
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
sass:
style: compressed
compress_html:
clippings: all
comments: all
endings: all
profile: false
blanklines: false
ignore:
envs: [development]
exclude:
- "*.gem"
- "*.gemspec"
- docs
- tools
- README.md
- LICENSE
- rollup.config.js
- package*.json
- result # nix result symlink
jekyll-archives:
enabled: [categories, tags]
layouts:
category: category
tag: tag
permalinks:
tag: /tags/:name/
category: /categories/:name/