docs: Update theme documentation

See #4460
This commit is contained in:
Bjørn Erik Pedersen
2018-06-12 07:38:41 +02:00
parent 80949dc73f
commit c74b0f8f9b
7 changed files with 172 additions and 263 deletions

View File

@@ -366,7 +366,7 @@ For merging of content from other languages (i.e. missing content translations),
To support Multilingual mode in your themes, some considerations must be taken for the URLs in the templates. If there is more than one language, URLs must meet the following criteria:
* Come from the built-in `.Permalink` or `.URL`
* Come from the built-in `.Permalink` or `.RelPermalink`
* Be constructed with
* The [`relLangURL` template function][rellangurl] or the [`absLangURL` template function][abslangurl] **OR**
* Prefixed with `{{ .LanguagePrefix }}`