diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-12-22 17:46:10 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-12-22 18:32:15 +0100 |
commit | 962c2446b9e600a0733f9520662f497cea2010f7 (patch) | |
tree | 2b446b45a460f51da65704fcaacd7f5878709189 /pelican-bootstrap3/README.md | |
parent | a012bc33eee7baa287cfea3cff1382606750e38c (diff) | |
download | pelican-themes-962c2446b9e600a0733f9520662f497cea2010f7.tar.gz |
Update documentation to clarify dependencies
Closes #460, as it documents what needs to be done to be able to use the
theme. I tested the configuration recommended in the README in a minimal
test site without translations or subsite functionality.
Also removes `i18n.patch` that was accidentally committed to the repo.
Diffstat (limited to 'pelican-bootstrap3/README.md')
-rw-r--r-- | pelican-bootstrap3/README.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pelican-bootstrap3/README.md b/pelican-bootstrap3/README.md index c53c1d7..cc068fc 100644 --- a/pelican-bootstrap3/README.md +++ b/pelican-bootstrap3/README.md @@ -26,7 +26,15 @@ Point the `THEME` variable in your `pelicanconf.py` to `JINJA_EXTENSIONS = ['jinja2.ext.i18n']` -to your Pelican configuration, as this template can be translated (see below). +to your Pelican configuration, as this template can be +translated (see `Translations` below). You also +need to activate a plugin that initializes the i18n jinja extension. One +possibility is an up to date version of the +[`i18n_subsites`](https://github.com/getpelican/pelican-plugins/tree/master/i18n_subsites) +plugin: + +`PLUGIN_PATHS = ['/path/to/git/pelican-plugins']` +`PLUGINS = ['i18n_subsites']` ## Usage |