eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Urls in sites without locale being prefixed by 'en-us'

153957 opened this issue · comments

Since e270050 all urls created by {% url ... %} tags are prefixed by a locale, however, I am not using locales. This commit sets the default to 'en-us' (.get("locale", "en-us")) which breaks my sites.

Simply settings the locale to a blank string in the config does not work. How can I disable locale while building a site?

I think the url tag should only use locales if they have been configured..

@m-thielen

Fixed by #272