hugo-scroll/exampleSite/content/de/homepage/about-me-local-img.md
Daniel Holbach 6264a749df fix typos, make markdownlint happy
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-07-11 09:23:53 +02:00

1.1 KiB

title weight header_menu
Über mich (DE folder) 3 true

This demonstates localized content placed in dedicated language folder, content/de. This way you won't have to use localization suffix with the .md file. Both localisation approaches (separate folder, suffixes in the same folder) can be used and even mixed.

See i18n configuration in [languages] section of config.toml.

Local content

Localised content can be put in dedicated folder content/de/. Images should be naturally found from there: Image from content/de

Assets

Images in assets folder can be localised, conventionally by adding .de suffix. However, assets may be tricky, see next section for details Broken DE Image from assets

Note the filename of this section is a bit artificial to avoid conflict with other examples in en folder. If named the same, this one wouldn't render. However normally you wouldn't have one page localized two ways.