https://github.com/elek/acah2021
Draft page for acah2021 conference
https://github.com/elek/acah2021
Last synced: about 1 year ago
JSON representation
Draft page for acah2021 conference
- Host: GitHub
- URL: https://github.com/elek/acah2021
- Owner: elek
- Created: 2021-03-07T22:00:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T03:22:41.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T18:11:37.282Z (about 1 year ago)
- Language: CSS
- Size: 1.09 MB
- Stars: 2
- Watchers: 3
- Forks: 62
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ApacheCon hugo site
This repository contains a Hugo based site for ApacheCon.
To test it locally, run:
```
hugo server -b http://localhost:1313/acah2021
```
To generate final site, use:
```
hugo -b https://apachecon.com/acah2021/ -d
```
## FAQ
### How can I modify the content of the main page:
It's under `content/_index.md`
### How can I have translations:
Add new language to the `config.toml`:
```
[languages.zh]
languageName = "中文"
weight = 2
```
And create language specific version for each content file:
```
content/_index.md
content/_index.zh.md
content/cfp.md
content/cfp.zh.md
```
### How can I modify the menu?
For simple links, add the menu entry to the `config.toml`:
(Note: add it for all the active languages)
```
[[languages.en.menu.main]]
name = "t-shirt"
url = "https://s.apache.org/apache-tshirt"
weight = -110
```
For a page, it's enough to add a menu entry to the markdown (For example `content/cfp.md`):
```
---
title: Call for Presentations
menu:
main:
weight: -300
---
...
...
```