From 78c72485782060052577a435f87b2743299b6ec0 Mon Sep 17 00:00:00 2001 From: Chris Warrick Date: Sun, 11 Jun 2017 20:29:25 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20#1838=20=E2=80=94=20use=20PRETTY=5FURLS?= =?UTF-8?q?=20by=20default?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Chris Warrick --- nikola/nikola.py | 2 +- nikola/plugins/command/init.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nikola/nikola.py b/nikola/nikola.py index 15f714639d..ab55b901a5 100644 --- a/nikola/nikola.py +++ b/nikola/nikola.py @@ -562,7 +562,7 @@ def __init__(self, **config): 'PRESERVE_EXIF_DATA': False, 'PAGES': (("pages/*.txt", "pages", "page.tmpl"),), 'PANDOC_OPTIONS': [], - 'PRETTY_URLS': False, + 'PRETTY_URLS': True, 'FUTURE_IS_NOW': False, 'INDEX_READ_MORE_LINK': DEFAULT_INDEX_READ_MORE_LINK, 'REDIRECTIONS': [], diff --git a/nikola/plugins/command/init.py b/nikola/plugins/command/init.py index 72c8f5408c..37034f8ec4 100644 --- a/nikola/plugins/command/init.py +++ b/nikola/plugins/command/init.py @@ -54,7 +54,7 @@ 'SITE_URL': "https://example.com/", 'BLOG_EMAIL': "joe@demo.site", 'BLOG_DESCRIPTION': "This is a demo site for Nikola.", - 'PRETTY_URLS': False, + 'PRETTY_URLS': True, 'STRIP_INDEXES': False, 'DEFAULT_LANG': "en", 'TRANSLATIONS': """{