Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add seeions and schedule menu #302

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/scss/acasia2021.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ section.track {
li {
line-height: 2.5em;
vertical-align: middle;
list-style: none;
}
}

Expand Down
29 changes: 25 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,45 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
unsafe = true

# menu for en (final list includes translated pages from /content)
[[languages.en.menu.main]]
name = "Schedule"
url = "/tracks.html"
weight = 1

[[languages.en.menu.main]]
name = "Sessions"
url = "/sessions.html"
weight = 2

[[languages.en.menu.main]]
name = "Guide"
url = "/guide/visa_letter_request.html"
weight = 1
weight = 3

[[languages.en.menu.main]]
name = "Venue + Travel"
url = "/venue_travel/venue.html"
weight = 2
weight = 4


# menu for ZH language (final list includes translated pages from /content)

[[languages.zh.menu.main]]
name = "会议日程"
url = "/zh/tracks.html"
weight = 1

[[languages.zh.menu.main]]
name = "Sessions"
url = "/zh/sessions.html"
weight = 2

[[languages.zh.menu.main]]
name = "参会指南"
url = "/zh/guide/visa_letter_request.html"
weight = 1
weight = 3

[[languages.zh.menu.main]]
name = "会场 + 旅行"
url = "/zh/venue_travel/venue.html"
weight = 2
weight = 4
2 changes: 1 addition & 1 deletion content/sessions/webserver-1134.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Dubbo's gateway - Dubbo Go Pixiu""
title: "Dubbo's gateway - Dubbo Go Pixiu"
date: "2024-07-28 14:30:00"
track: "webserver"
presenters: "Mengchao lv"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion themes/apachecon/layouts/sessions/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div id="content" class="container">
<section>
<header class="major">
<h2>{{.Title}}</h2>
<h2 class="text-center">{{.Title}}</h2>
</header>

{{ $day := "" }}
Expand Down
2 changes: 1 addition & 1 deletion themes/apachecon/layouts/tracks/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div id="content" class="container">
<section class="track">
<header class="major">
<h2>{{i18n "tracks"}}</h2>
<h2 class="text-center">{{i18n "tracks"}}</h2>
</header>

<ul>
Expand Down
2 changes: 1 addition & 1 deletion themes/apachecon/layouts/tracks/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div id="content" class="container">
<section class="session">
<header class="major">
<h2>{{.Title}}</h2>
<h2 class="text-center">{{.Title}}</h2>
<hr></hr>
<h3>{{i18n "trackchairs"}} : {{.Params.trackchairs}}</h3>
</header>
Expand Down
Loading