From 166ac52b342083db32721eb4611fab0f7e221f8b Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 8 Nov 2025 17:38:37 +0100 Subject: [PATCH] chrore: Relocates README note for the language badge --- README.md | 10 ++++++++++ layouts/shortcodes/README.MD | 9 --------- 2 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 layouts/shortcodes/README.MD diff --git a/README.md b/README.md index 1722bb7..f4d205f 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,13 @@ 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. \ No newline at end of file diff --git a/layouts/shortcodes/README.MD b/layouts/shortcodes/README.MD deleted file mode 100644 index 8e05dd5..0000000 --- a/layouts/shortcodes/README.MD +++ /dev/null @@ -1,9 +0,0 @@ -## 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. \ No newline at end of file