feat: Adds language badges to tour overview table
Some checks failed
/ build (pull_request) Failing after 15s
Some checks failed
/ build (pull_request) Failing after 15s
This commit is contained in:
parent
4f8c6a9771
commit
d4092d97b6
4 changed files with 69 additions and 44 deletions
9
layouts/shortcodes/README.MD
Normal file
9
layouts/shortcodes/README.MD
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
## 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue