config.toml 2.4 KB
Newer Older
M
update  
MaoXianxin 已提交
1
baseURL = "https://COPU.gitcode.host/copu/"
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
2 3
#baseURL = "/"
Languages = "zh-cn"
M
修改  
MaoXianxin 已提交
4
title = "开源软件推进联盟"
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18

theme = ["dot","hugo-theme-pdf-js"]

[markup.goldmark.renderer]
unsafe = true


############################# Default Parameters ##########################
[params]
# logo is for all page
logo = ""
# logo white is for homepage logo, you can use colorful logo too...
logo_white = ""
# when logo is empty, it will shown your site title
M
MaoXianxin 已提交
19
copyright = "[开源软件推进联盟](https://codechina.csdn.net/COPU) © 2020 a Hugo theme by [Gethugothemes](https://gethugothemes.com/)"
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42




# customize color 
primary_color = "#d21e1d"
body_color = "#f9f9f9"
text_color = "#636363"
text_color_dark = "#242738"
white_color = "#ffffff"
light_color = "#f8f9fa"

# font family
# font_family = "lato" # Choose font family from : https://fonts.google.com/

# contact form action
contact_form_action = "#" # contact form works with : https://formspree.io


############################## social links ##############################
  
[[params.social]]
icon = "ti-github" # themify icon pack : https://themify.me/themify-icons
M
MaoXianxin 已提交
43
link = "https://codechina.csdn.net/COPU"
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
44 45 46 47 48 49 50 51 52 53 54


################################ 中文 ######################
# [Languages]
# languageName = "中文"
# languageCode = "zh-cn"
# weight = 0


# banner
[params.banner]
M
MaoXianxin 已提交
55 56 57 58
title = "开源软件推进联盟"
# subtitle = "开源软件推进联盟"
# bg_image = "images/banner.jpg"
placeholder = "输入关键词查找文集"
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73

# call to action
[params.cta]
# enable = true
# title = "Didn't find an answer to your question?"
#content = "Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam."
# call to action button
[params.cta.button]
# enable = true
# label = "contact us"
# link = "contact"


################## navigation #################
[[menu.main]]
M
MaoXianxin 已提交
74 75 76
# name = "主会场"
# url = "/keynote"
# weight = 1
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
77 78

[[menu.main]]
M
MaoXianxin 已提交
79 80 81
# name = "北京"
# url = "/beijing"
# weight = 2
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
82 83

[[menu.main]]
M
MaoXianxin 已提交
84 85 86
# name = "深圳"
# url = "/shenzhen"
# weight = 4
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
87 88 89

# Dropdown menu
[[menu.main]]
M
MaoXianxin 已提交
90 91 92
# weight = 3
# name = "上海"
# hasChildren = true
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
93 94

[[menu.main]]
M
MaoXianxin 已提交
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
# parent = "上海"
# name = "11月28日"
# url = "/shanghai/11-28"
# weight = 1

[[menu.main]]
# parent = "上海"
# name = "11月29日"
# url = "/shanghai/11-29"
# weight = 2

[[menu.main]]
# name = "CODE CHINA"
# url = "https://codechina.csdn.net/"
# weight = 6