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