mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
54141f71dd
The current "rendering language" is needed outside of Site. This commit moves the Language type to the helpers package, and then used to get correct correct language configuration in the markdownify template func. This commit also adds two new template funcs: relLangURL and absLangURL. See #2309 |
||
---|---|---|
.. | ||
configProvider.go | ||
content.go | ||
content_renderer.go | ||
content_renderer_test.go | ||
content_test.go | ||
emoji.go | ||
emoji_test.go | ||
general.go | ||
general_test.go | ||
hugo.go | ||
hugo_test.go | ||
language.go | ||
path.go | ||
path_test.go | ||
pygments.go | ||
pygments_test.go | ||
url.go | ||
url_test.go |