shithub: hugo

Download patch

ref: 54141f71dd0ffbd2af326581b78ecafe7f054f51
parent: 2079a23dd89734cea39e523faf46e44201151279
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Sun Aug 7 18:01:55 EDT 2016

Improve language handling in URLs

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