diff options
author | Michele "Ubik" De Simoni <ubik_@outlook.com> | 2017-02-07 02:03:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-07 02:03:08 +0100 |
commit | a39d81dc091ac2c204f12492499d44fd2367558c (patch) | |
tree | f27deaa8e48df64b581aef2db665294e3b0da8cc /pelican-bootstrap3 | |
parent | a62c4c5947280dcf3ee8d80ace56d03f5615cdca (diff) | |
download | pelican-themes-a39d81dc091ac2c204f12492499d44fd2367558c.tar.gz |
Update to JINJA_ENVIRONMENT
Remove the deprecated JINJA_EXTENSIONS indication in favor of the up to date JINJA_ENVIRONMENT variable
Diffstat (limited to 'pelican-bootstrap3')
-rw-r--r-- | pelican-bootstrap3/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pelican-bootstrap3/README.md b/pelican-bootstrap3/README.md index cc068fc..897e972 100644 --- a/pelican-bootstrap3/README.md +++ b/pelican-bootstrap3/README.md @@ -24,7 +24,9 @@ Then: Point the `THEME` variable in your `pelicanconf.py` to `/path/to/pelican-bootstrap3` and add -`JINJA_EXTENSIONS = ['jinja2.ext.i18n']` +``` +JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']} +``` to your Pelican configuration, as this template can be translated (see `Translations` below). You also |