config.toml 2.9 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"
Miykael_xxm's avatar
update  
Miykael_xxm 已提交
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
Miykael_xxm's avatar
Miykael_xxm 已提交
19
copyright = "[中国开源软件推进联盟](https://gitcode.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
Miykael_xxm's avatar
Miykael_xxm 已提交
43
link = "https://gitcode.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]
Miykael_xxm's avatar
update  
Miykael_xxm 已提交
55 56
title = "中国开源软件推进联盟"
# subtitle = "中国开源软件推进联盟"
M
MaoXianxin 已提交
57 58
# 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]]
Miykael_xxm's avatar
Miykael_xxm 已提交
74
  name = "开源报告"
Miykael_xxm's avatar
update  
Miykael_xxm 已提交
75
  weight = 1
Miykael_xxm's avatar
Miykael_xxm 已提交
76 77 78 79
  hasChildren = true

    [[menu.main]]
    parent = "开源报告"
80
    name = "2024 年开源现状"
Miykael_xxm's avatar
Miykael_xxm 已提交
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
    url = "/2024/1/"
    weight = 1

    [[menu.main]]
    parent = "开源报告"
    name = "2023 年蓝皮书"
    url = "/2023/1/"
    weight = 2

    [[menu.main]]
    parent = "开源报告"
    name = "2022 年蓝皮书"
    url = "/2022/1/"
    weight = 3

    [[menu.main]]
    parent = "开源报告"
    name = "2021 年蓝皮书"
    url = "/开源发展蓝皮书/18/"
    weight = 4
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
101 102

[[menu.main]]
M
MaoXianxin 已提交
103 104 105
# name = "北京"
# url = "/beijing"
# weight = 2
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
106 107

[[menu.main]]
M
MaoXianxin 已提交
108 109 110
# name = "深圳"
# url = "/shenzhen"
# weight = 4
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
111 112

# Dropdown menu
Miykael_xxm's avatar
update  
Miykael_xxm 已提交
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
# [[menu.main]]
  weight = 3
  name = "专辑"
  hasChildren = true

    [[menu.main]]
    parent = "专辑"
    name = "评人工智能如何走向新阶段"
    url = "/评人工智能如何走向新阶段/"
    weight = 1

    [[menu.main]]
    parent = "专辑"
    name = "深度信息技术专辑"
    url = "/深度信息技术专辑/18/"
    weight = 2
M
MaoXianxin 已提交
129 130

[[menu.main]]
Miykael_xxm's avatar
Miykael_xxm 已提交
131 132
 name = "GitCode"
 url = "https://gitcode.net/COPU/copu"
Miykael_xxm's avatar
update  
Miykael_xxm 已提交
133
 weight = 6