You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected :
It would be clearer and easier if we could configure the slug and folder of index page as a setting in settings.py.
For instance to configure the index view with the page content/pages/fr/index/home.md that has the slug accueil :
Currently the users can't add Jinja2 filters or functions unless modify the file jinja2.py. Expected :
It could be useful to add settings JFME_ADDITIONAL_JINJA2_FILTERS and JFME_ADDITIONAL_JINJA2_FUNCTIONS
For instance in settings.py:
1. Index page configuration
Currently we need to configure the index page (page at URL "/") in
views.py
, inIndexView
class by changing the lines :Expected :
It would be clearer and easier if we could configure the
slug
andfolder
of index page as a setting insettings.py
.For instance to configure the index view with the page
content/pages/fr/index/home.md
that has the slugaccueil
:2. Add jinja2 filters and functions
Currently the users can't add Jinja2 filters or functions unless modify the file
jinja2.py
.Expected :
It could be useful to add settings
JFME_ADDITIONAL_JINJA2_FILTERS
andJFME_ADDITIONAL_JINJA2_FUNCTIONS
For instance in
settings.py
:Then in templates :
The text was updated successfully, but these errors were encountered: