Переглянути джерело

Merge pull request #961 from mandaris/update-i18n_subsites-readme

Update i18n_subsites readme
Justin Mayer 7 роки тому
батько
коміт
97e66601b0
1 змінених файлів з 9 додано та 0 видалено
  1. 9 0
      i18n_subsites/README.rst

+ 9 - 0
i18n_subsites/README.rst

@@ -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