27 lines
No EOL
726 B
Markdown
27 lines
No EOL
726 B
Markdown
# Hackertours Web Site
|
|
|
|
## Complete the checkout
|
|
|
|
We need the submodule for the theme, so update/clone the submodules:
|
|
|
|
```shell
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
## Run in dev mode
|
|
|
|
```shell
|
|
hugo server --buildFuture --buildDrafts
|
|
```
|
|
|
|
Then open http://localhost:1313
|
|
|
|
## Shortcode: Language badge
|
|
|
|
Use the `lang` shortcode to mark whether a tour is in German, English or bilingual. It renders a small superscript badge next to the text, with details when hovered over or parsed by a screenreader.
|
|
|
|
- German: `{{< lang de >}}`
|
|
- English: `{{< lang en >}}`
|
|
- Bilingual: `{{< lang deen >}}`
|
|
|
|
For usage references check the [German](/content/de/39c3/_index.md) and [English](/content/en/39c3/_index.md) tour overview. |