Add DISPLAY_TAGS_ON_MENU option (Fix #2244)

This commit is contained in:
Florent Gallaire 2017-11-02 16:19:57 +01:00
commit dcd34b4a03
3 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,8 @@ Next release
============
* New signal: ``feed_generated``
* Provide ability to show or hide tags from menu using
``DISPLAY_TAGS_ON_MENU`` option
3.7.1 (2017-01-10)
==================

View file

@ -60,6 +60,11 @@ Basic settings
Whether to display categories on the menu of the template. Templates may or
not honor this setting.
.. data:: DISPLAY_TAGS_ON_MENU = False
Whether to display tags on the menu of the template. Templates may or not
honor this setting.
.. data:: DOCUTILS_SETTINGS = {}
Extra configuration settings for the docutils publisher (applicable only to

View file

@ -54,6 +54,7 @@ DEFAULT_CONFIG = {
'SITENAME': 'A Pelican Blog',
'DISPLAY_PAGES_ON_MENU': True,
'DISPLAY_CATEGORIES_ON_MENU': True,
'DISPLAY_TAGS_ON_MENU': False,
'DOCUTILS_SETTINGS': {},
'OUTPUT_SOURCES': False,
'OUTPUT_SOURCES_EXTENSION': '.text',