blackwolf/config.yml

200 lines
4.8 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# If your site is in 'https', then make sure your base url isn't written using 'http' otherwise your sitemap would
# contain http (as opposeed to https) URLs. This would affect Google indexing of your URLs.
baseURL: "https://blackwolf.drwater.net/"
languageCode: zh-cn
title: Black Wolf
theme: [hugo-PaperMod]
pagination:
pagerSize: 5
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
pygmentsUseClasses: true
mainsections: ["article", "papermod"]
hasCJKLanguage: true
# googleAnalytics: UA-123-45
defaultContentLanguage: zh
minify:
disableXML: true
# minifyOutput: true
ignoreFiles:
- "\\.qmd$"
- "\\.ipynb$"
- "\\.py$"
languages:
zh:
languageName: ":us:"
weight: 1
taxonomies:
category: categories
tag: tags
series: series
menu:
main:
- name: 记录点滴
url: article/
weight: 5
- name: 数学大爆炸
url: math/
weight: 8
- name: 音符律动
url: music/
weight: 9
- name: 学习笔记
url: note/
weight: 10
- name: 📚
url: archives/
weight: 12
- name: 📌
url: tags/
weight: 19
- name: "🔍"
url: search/
weight: 29
outputs:
home:
- HTML
- RSS
- JSON
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "我的小站"
author: Black Wolf
# author: ["Me", "You"] # multiple authors
defaultTheme: auto
# disableThemeToggle: true
DateFormat: "2006年1月9日"
ShowShareButtons: false
ShowReadingTime: true
# disableSpecial1stPost: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowRssButtonInSectionTermList: true
ShowAllPagesInArchive: true
ShowPageNums: true
ShowLastMod: true #显示文章更新时间
ShowToc: true # 显示目录
TocOpen: true # 自动展开目录
comments: true
images: ["images/papermod-cover.png"]
profileMode:
enabled: true
title: Black Wolf
imageUrl: "images/blackwolf.webp"
imageTitle: Black Wolf
# imageWidth: 120
# imageHeight: 120
buttons:
- name:
url: article
- name: π
url: math
- name: 🎵
url: music
- name: 📒
url: note
homeInfoParams:
Title: ".."
Content: "aaa"
# socialIcons:
# - name: wechat
# title: View Source on Github
# url: "https://github.com/adityatelange/hugo-PaperMod"
# - name: github
# title: View Source on Github
# url: "https://github.com/adityatelange/hugo-PaperMod"
editPost:
URL: "https://git.drwater.net/ming/blackwolf/src/branch/main/content/"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
# label:
# iconSVG: '<svg xmlns="http://www.w3.org/2000/svg" height="25" viewBox="0 -960 960 960" fill="currentColor"><path d="M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"/></svg>'
# text: "Home"
# icon: icon.png
# iconHeight: 35
# analytics:
# google:
# SiteVerificationTag: "XYZabc"
assets:
disableHLJS: true
# favicon: "<link / abs url>"
# favicon16x16: "<link / abs url>"
# favicon32x32: "<link / abs url>"
# apple_touch_icon: "<link / abs url>"
# safari_pinned_tab: "<link / abs url>"
# cover:
# hidden: true # hide everywhere but not in structured data
# hiddenInList: true # hide on list pages and home
# hiddenInSingle: true # hide on single page
# fuseOpts:
# isCaseSensitive: false
# shouldSort: true
# location: 0
# distance: 1000
# threshold: 0.4
# minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"]
# twikoo评论
twikoo:
# version: 1.5.8 # 填写twikoo版本号
id: blackwolf # 填写自己的twikoo id
region: # 环境地域,默认为 ap-shanghai如果您的环境地域不是上海需传此参数请看twikoo官方文档
markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
# anchorLineNos: true
codeFences: true
guessSyntax: true
lineNos: true
style: monokai
# privacy:
# vimeo:
# disabled: false
# simple: true
# twitter:
# disabled: false
# enableDNT: true
# simple: true
# instagram:
# disabled: false
# simple: true
# youtube:
# disabled: false
# privacyEnhanced: true
services:
instagram:
disableInlineCSS: false
twitter:
disableInlineCSS: false