mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-27 00:38:53 +00:00
Fix abslangurl.md (#1919)
Last missing closing highlighting markers break page layout.
This commit is contained in:
committed by
GitHub
parent
bf2c456173
commit
4fd934f616
@@ -55,6 +55,7 @@ With `baseURL = https://example.org/docs/`
|
||||
{{ absLangURL "/" }} → https://example.org/en/
|
||||
{{ absLangURL "/articles" }} → https://example.org/en/articles
|
||||
{{ absLangURL "/style.css" }} → https://example.org/en/style.css
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
The last three examples are not desirable in most situations. As a best practice, never include a leading slash when using this function.
|
||||
|
||||
Reference in New Issue
Block a user