-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.toml
186 lines (155 loc) · 4.54 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
######################## default configuration ####################
baseURL = "/news-website-template"
title = "新闻"
theme = "editor"
# post pagination
paginate = "12"
# post excerpt
summaryLength = "10"
# google analytics
googleAnalytics = "" # example : UA-123-45
# disqus short name
disqusShortname = "" # get your shortname form here : https://disqus.com
# disable language
disableLanguages = [] # desable language from here
defaultContentLanguage = "cn"
show_email_in_nav = "false"
############################# Outputs ##############################
[outputs]
home = ["HTML", "RSS", "JSON"]
[markup.goldmark.renderer]
unsafe= true
############################# Plugins ##############################
# CSS Plugins
[[params.plugins.css]]
link = "plugins/bootstrap/bootstrap.min.css"
[[params.plugins.css]]
link = "plugins/slick/slick.css"
# JS Plugins
[[params.plugins.js]]
link = "plugins/jquery/jquery.min.js"
[[params.plugins.js]]
link = "plugins/bootstrap/bootstrap.min.js"
[[params.plugins.js]]
link = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/js/all.min.js"
attributes = "crossorigin='anonymous' defer='defer' data-search-pseudo-elements"
[[params.plugins.js]]
link = "plugins/slick/slick.min.js"
[[params.plugins.js]]
link = "plugins/search/fuse.min.js"
[[params.plugins.js]]
link = "plugins/search/mark.js"
[[params.plugins.js]]
link = "plugins/search/search.js"
#################### default parameters ################################
[params]
favicon = "images/favicon/favicon.ico"
logo_text = "新闻"
logo = "images/InterImm_logo.png"
logo_height = "26px"
logo_rotate = true
# Meta data
description = "这是描述"
author = "我是作者"
# contact info
address = ""
mobile = ""
email = ""
# contact form action
contact_form_action = "#" # contact form works with https://formspree.io
# Search
search = true
# Main section
mainSections = ["news"]
# custom script on header
custom_script= ""
# site variables
[params.variables]
# color variables
primary_color = "#c98664"
secondary_color = "#c98665"
white = "#ffffff"
black = "#000000"
dark = "#2B2C2E"
gray = "#66676d"
light = "#a8aab2"
# font-size variables
h1 = "68px"
h1_lg = "52px"
h1_md = "40px"
h2 = "42px"
h2_md = "36px"
h3 = "32px"
h3_md = "28px"
h4 = "24px"
h5 = "18px"
h6 = "16px"
# font variable
# Give your font name from google font. add font weight using ":wght@" and separate by ";"
# example: "Work Sans:wght@400;600;700"
primary_font = "Lora:wght@500;600"
secondary_font = "Work Sans:wght@400;500;600"
icon_font = "Font Awesome 5 Free"
# Preloader
[params.preloader]
enable = false
preloader = "" # use jpg, png, svg or gif format.
# Subscription
[params.subscription]
enable = false
# mailchimp subsciption
mailchimp_form_action = "https://gmail.us4.list-manage.com/subscribe/post?u=463ee871f45d2d93748e77cad&id=a0a2c6d074" # replace this url with yours
mailchimp_form_name = "b_463ee871f45d2d93748e77cad_a0a2c6d074" # replace this code with yours
# cookies
[params.cookies]
enable = false
expire_days = 2
######################## sidebar widgets #########################
[params.widgets]
sidebar = ["about-me", "recent-post", "categories", "tags"]
# available widget : search,about-me,authors,categories,tags,recent-post,social,promotion,subscription
############################# social site ########################
[[params.social]]
title = "Facebook"
icon = "fab fa-facebook" # Fhemify icon : https://themify.me/themify-icons
link = "https://facebook.com"
[[params.social]]
title = "Twitter"
icon = "fab fa-twitter" # Fhemify icon : https://themify.me/themify-icons
link = "https://twitter.com"
[[params.social]]
title = "Instagram"
icon = "fab fa-instagram" # Fontawesome icon pack : https://fontawesome.com/icons/
link = "https://instagram.com"
[[params.social]]
title = "Github"
icon = "fab fa-github" # Fontawesome icon pack : https://fontawesome.com/icons/
link = "https://github.com"
################################### Chinese language #####################################
############# navigation ##############
# main menu
[[menu.main]]
name = "首页"
url = ""
weight = 1
[[menu.main]]
name = "关于"
url = "about/"
weight = 2
[[menu.main]]
name = "新闻"
url = "news/"
weight = 3
[[menu.main]]
weight = 4
name = "更多"
hasChildren = true
[[menu.main]]
parent = "更多"
weight = 3
url = "elements/"
name = "编辑帮助"
# [[menu.main]]
# name = "联系"
# url = "contact/"
# weight = 5