LINKS_IN_NEW_TAB setting

This setting can be modified to open all LINKS in the same window,
open all LINKS in a new window or only only external links in new
windows.
This commit is contained in:
Fidel Ramos 2019-10-27 14:09:43 +00:00
parent 56a2a32974
commit 2455759bd8
No known key found for this signature in database
GPG key ID: 64490E0A752C21C4
2 changed files with 15 additions and 3 deletions

View file

@ -39,6 +39,12 @@ USE_FOLDER_AS_CATEGORY = False
MAIN_MENU = True
HOME_HIDE_TAGS = True
# Valid values for LINKS_IN_NEW_TAB:
# * Unset, None, True or any string to open all LINKS in a new window (default)
# * 'no', 'none', False or 0 to open all LINKS in the same window
# * 'external' to open LINKS to external sites in a new window, internal links in same window
LINKS_IN_NEW_TAB = 'external'
SOCIAL = (
('github', 'https://github.com/alexandrevicenzi/Flex'),
('rss', '/blog/feeds/all.atom.xml'),