-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
94 lines (67 loc) · 2.49 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
baseurl = "https://www.wangyuanyou.com/"
title = "王石宝的博客"
theme = "hugo-universal-blog-theme"
themesDir = "../"
languageCode = "zh-cn"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "zh"
# Enable comments by entering your Disqus shortname
# disqusShortname = "wangshibao"
# Enable Google Analytics by entering your tracking code
googleAnalytics = "UA-125549574-1"
# Define the number of posts per page
paginate = 10
# auto-detect Chinese/Japanese/Korean Languages in the content. This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage = true
# The length of text to show in a .Summary.
summaryLength = 140
#不要转换url为小写
disablePathToLower = true
[menu]
# Main menu
[[menu.main]]
name = "首页"
url = "/"
weight = 1
[[menu.main]]
name = "博客"
url = "/blog/"
weight = 2
[[menu.main]]
name = "关于"
url = "/about/"
weight = 4
[params]
viewMorePostLink = "/blog/"
author = "王石宝"
defaultKeywords = ["王石宝", "blog"]
defaultDescription = "王石宝的博客"
#Â Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "blue"
copyright = "版权声明:自由转载-保持署名-注明转载链接"
# Format dates with Go's time formatting,Go设定时间格式必须基于此时间原点
date_format = "2006/01/02"
logo = "img/logo.png"
logo_small = "img/logo-small.png"
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true
tags = true
search = false
[params.carousel]
enable = true
# All carousel items are defined in their own files. You can find example items
# at 'exampleSite/data/carousel'.
# For more informtion take a look at the README.
[params.recent_posts]
enable = true
title = "近期博客"
subtitle = "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo."
# 打赏
[params.donate]
enable = true
title = "一毛钱不嫌少~</br>您的支持是我创作的动力,谢谢~"
wechat = "/img/wechat.jpg" #微信,关闭设为 false
alipay = "/img/alipay.jpg" #支付宝,关闭设为 false