diff options
author | Justin Mayer <entroP@gmail.com> | 2016-12-13 10:33:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 10:33:27 -0800 |
commit | b6ab2ad418b634eda366026855be0574703281d7 (patch) | |
tree | 218cfce1037c099a650cbb382b69d50de681f5e8 /pelican-bootstrap3/README.md | |
parent | 30c807519db25e1c9246a6c53b7545b36a2f1895 (diff) | |
parent | db5388e47885b76083ee6a169863b5e718ca1246 (diff) | |
download | pelican-themes-b6ab2ad418b634eda366026855be0574703281d7.tar.gz |
Merge pull request #441 from jranke/i18n
Make pelican-bootstrap3 multilingual
Diffstat (limited to 'pelican-bootstrap3/README.md')
-rw-r--r-- | pelican-bootstrap3/README.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pelican-bootstrap3/README.md b/pelican-bootstrap3/README.md index 00ed5d3..c53c1d7 100644 --- a/pelican-bootstrap3/README.md +++ b/pelican-bootstrap3/README.md @@ -21,7 +21,12 @@ First: Then: -Point the `THEME` variable in your `pelicanconf.py` to `/path/to/pelican-bootstrap3` +Point the `THEME` variable in your `pelicanconf.py` to +`/path/to/pelican-bootstrap3` and add + +`JINJA_EXTENSIONS = ['jinja2.ext.i18n']` + +to your Pelican configuration, as this template can be translated (see below). ## Usage @@ -347,6 +352,11 @@ Originally developed for including certification marks in your sidebar. E.g., http://dmark.github.io +### Translations + +This template can be translated using pybabel and the enclosed Makefile. See +[Localizing themes with Jinja2](https://github.com/getpelican/pelican-plugins/blob/master/i18n_subsites/localizing_using_jinja2.rst) for more details and pointers. + ## Live example [This is the website of the original author](http://dandydev.net) |