blog/hugo.toml

70 lines
1.7 KiB
TOML

baseURL = 'https://www.sunpeiwen.com/'
languageCode = 'zh-cn'
timezone = 'Asia/Shanghai'
defaultContentLanguage = 'zh-cn'
theme = 'farallon'
[langusges]
[languages.zh-cn]
title = "资深网民孙先生"
languageName = "简体中文"
contentDir = 'content/zh-cn'
[languages.zh-cn.menu]
[[languages.zh-cn.menu.main]]
name="影音"
url="/movies/"
weight="3"
[[languages.zh-cn.menu.main]]
name="说说"
url="/memos/"
weight="2"
[[languages.zh-cn.menu.main]]
name="标签"
url="/tags/"
weight="4"
[[languages.zh-cn.menu.main]]
name="归档"
url="/archives/"
weight="5"
[[languages.zh-cn.menu.main]]
name="首页"
url="/"
weight="1"
[taxonomies]
category = 'categories'
tag = 'tags'
[Params]
search= true
description = '资深网民孙先生.'
toc = true
mainSections = ['posts','memo']
indexName = 'blog'
searchKey = '6de51423d2ac6b29beb9a061737a85ca'
searchAPPID = 'CIU4I6RWD0'
showAuthor = true
authorName = '老孙'
authorDescription = '资深网民孙先生'
authorAvatar = 'https://i.sunpeiwen.com/source/img/logo.jpg'
icon = 'https://i.sunpeiwen.com/source/img/logo.jpg'
commentDomain = ''
telegram = 'https://t.me/s/imsunpw'
feed = '/index.xml'
twitter = 'https://twitter.com/imsunpei'
instagram = 'https://www.instagram.com/imsunpw/'
github = 'https://github.com/jkjoy'
footer_sns = true
post_like = true
post_view = true
actionDomain = 'https://v.wpista.com/'
dbAPIBase = 'https://db.imsun.org/'
twikoo = 'https://twikoo.ima.cm/'
[outputs]
home = [ "HTML","JSON","RSS","SITEMAP"]
page = ["HTML"]
[markup.tableOfContents]
endLevel = 5
startLevel = 3