Files
Hugo/hugo.yaml
T

148 lines
2.3 KiB
YAML

baseURL: "https://62.234.90.54/"
title: "🦀 爪子笔记"
enableRobotsTXT: true
enableGitInfo: false
hasCJKLanguage: true
outputs:
home: [html]
page: [html]
section: [html, rss]
defaultContentLanguage: zh-cn
languages:
zh-cn:
label: 简体中文
locale: zh-CN
weight: 1
title: 🦀 爪子笔记
theme: hextra
markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true
extensions:
passthrough:
delimiters:
block: [['\[', '\]'], ['$$', '$$']]
inline: [['\(', '\)']]
enable: true
enableInlineShortcodes: true
menu:
main:
- identifier: blog
name: 文章
pageRef: /blog
weight: 1
- identifier: about
name: 关于
pageRef: /about
weight: 2
- name: Search
weight: 3
params:
type: search
params:
# SEO
description: 一只爪子的技术笔记与生活记录
images:
- /images/logo.svg
# Favicon 路径
favicon:
dark: /images/logo-dark.svg
light: /images/logo.svg
# 导航栏
navbar:
displayTitle: true
displayLogo: false
width: wide
# logo:
# path: /images/logo.svg
# dark: /images/logo-dark.svg
# link: /
# width: 32
# height: 32
# 主题
theme:
default: system
displayToggle: true
# 页脚
footer:
enable: true
displayCopyright: true
displayPoweredBy: false
width: normal
# 日期
displayUpdatedDate: false
dateFormat: "2006-01-02"
# 搜索
search:
enable: true
type: flexsearch
flexsearch:
index: content
tokenize: forward
# 博客
blog:
list:
displayTags: true
sortBy: date
sortOrder: desc
pagerSize: 10
displayDate: true
displaySummary: true
article:
displayPagination: true
displayReadMore: true
# 目录
toc:
displayTags: true
# 页面
page:
width: normal
# 评论 (关闭)
comments:
enable: false
# type: giscus
# giscus:
# repo: your/repo
# repoId: xxx
# category: General
# categoryId: xxx
# RSS 定制
rss:
limit: 20
# 代码高亮增强
highlight:
copy:
enable: true
lineNumbers: false
# Open Graph / SEO 增强
opengraph:
enable: true
# Schema.org 结构化数据
schema:
enable: true