pages/hugo.toml
git_repo_user 0a38b60f32 first commit
2025-08-29 21:42:23 +00:00

123 lines
2.4 KiB
TOML

[build]
writeStats = true
[build.buildStats]
enable = false
baseURL = 'https://mathdoggy.gitnet.page/'
title = 'Mathrew Xian Hugo Site'
author = 'Mathrew Xian'
copyright = '© 2025, Mathrew Xian'
languageCode = 'en'
DefaultContentLanguage = 'en'
theme = 'paper'
[frontmatter]
date = ['mydate', 'date']
[HTTPCache]
[HTTPCache.cache]
[HTTPCache.cache.for]
excludes = ['**']
includes = []
[pagination]
disableAliases = false
pagerSize = 10
[page]
nextPrevInSectionSortOrder = 'desc'
nextPrevSortOrder = 'desc'
[blog]
nextPrevInSectionSortOrder = 'desc'
nextPrevSortOrder = 'desc'
[params]
color = 'light-blue'
mastodon = '@mstdn.plus@mathdoggy'
github = 'mathdoggy'
[permalinks]
[permalinks.page]
[permalinks.section]
[permalinks.taxonomy]
[permalinks.term]
[markup]
[markup.goldmark]
duplicateResourceFiles = false
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
linkifyProtocol = 'https'
strikethrough = true
table = true
[markup.goldmark.parser]
autoDefinitionTermID = false
autoHeadingID = true
autoIDType = 'gitnet'
wrapStandAloneImageWithinParagraph = true
[markup.goldmark.parser.attribute]
block = false
title = true
[markup.goldmark.renderHooks]
[markup.goldmark.renderHooks.image]
enableDafault = false
useEmbedded = 'auto'
[markup.goldmark.renderHooks.link]
enableDefault = false
useEmbedded = 'auto'
[markup.goldmark.renderer]
hardWraps = false
unsafe = false
xhtml = false
[menu]
[[menu.main]]
name = 'Home'
pageRef = '/'
weight = 10
[[menu.main]]
name = 'Blogs'
pageRef = '/blogs'
weight = 10
[[menu.main]]
name = 'Pages'
pageRef = '/pages'
weight = 1
[[menu.main]]
name = 'Mathrew Xian'
pre = '<i class="fa fa-heart"></i>'
url = 'https://mathdoggy.gitnet.page/'
weight = 20
[menu.main.params]
rel = 'external'
[[menu.footer]]
name = 'Terms'
pageRef = '/terms'
weight = 1
[[menu.footer]]
name = 'Privacy'
pageRef = '/privacy'
weight = 10
[taxonomies]
author = 'authors'
category = 'categories'
blog = 'blogs'
page = 'pages'
site = 'sites'
tag = 'tags'
series = 'series'
[privacy]
[services]
[services.googleAnalytics]
ID = 'G-ZZYG7KM2RT'
[module]
[[module.imports]]
path = 'github.com/nanxiaobei/hugo-paper'