Give information on how to set up in pelican

The plugin calls for the extension for the command “gettext” and
doesn’t write the text without it.
This commit is contained in:
Mandaris 2017-11-15 06:03:43 -08:00
parent cc0dd7f2d3
commit 8799873565

View File

@ -53,6 +53,15 @@ dictionary must be given (but can be empty) in the ``I18N_SUBSITES`` dictionary
}
}
You must also have the following in your pelican configuration
.. code-block:: python
JINJA_ENVIRONMENT = {
'extensions': ['jinja2.ext.i18n'],
}
Default and special overrides
-----------------------------
The settings overrides may contain arbitrary settings, however, there