config.toml 2.3 KB
Newer Older
Miykael_xxm's avatar
init  
Miykael_xxm 已提交
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
baseURL = "https://open.gitcode.host/pycon-2020/"
#baseURL = "/"
Languages = "zh-cn"
title = "PyCon China 2020"

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
copyright = "[CODE CHINA](https://codechina.csdn.net/) © 2020 a Hugo theme by [Gethugothemes](https://gethugothemes.com/)"




# 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
link = "https://codechina.csdn.net/open/pycon-2020"


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


# banner
[params.banner]
title = "PyCon China 2020"
subtitle = "Python 中国开发者大会 2020"
bg_image = "images/banner.jpg"
placeholder = "输入关键词查找大会演讲稿"

# 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]]
name = "主会场"
url = "/keynote"
weight = 1

[[menu.main]]
name = "北京"
url = "/beijing"
weight = 2

[[menu.main]]
name = "深圳"
url = "/shenzhen"
weight = 4

# Dropdown menu
[[menu.main]]
weight = 3
name = "上海"
hasChildren = true

  [[menu.main]]
  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