Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Your files might look like this:
title: English title

# lang_de.yml
title: Deutsch titel
title: Deutscher Titel
```

Now in your layouts or includes you can reference these dictionaries under the global variable `lang`. The configured page or post
Expand All @@ -153,7 +153,7 @@ language will determine which language dictionary is used. For example:
{{ lang.title }} => English title

# On a page or post where lang: de
{{ lang.title }} => Deutsch titel
{{ lang.title }} => Deutscher Titel
```

If no language is configured for a page or post, it will default to the site's default language.
Expand Down