# 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: ''
  # text: "Home"
  # icon: icon.png
  # iconHeight: 35
  # analytics:
  #     google:
  #         SiteVerificationTag: "XYZabc"
  assets:
    disableHLJS: true
  #     favicon: ""
  #     favicon16x16: ""
  #     favicon32x32: ""
  #     apple_touch_icon: ""
  #     safari_pinned_tab: ""
  # 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