[gimp-web/gimp-web-static] pelicanconf.py: set RELATIVE_URLS=False, PAGES_DEBUG=False
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/gimp-web-static] pelicanconf.py: set RELATIVE_URLS=False, PAGES_DEBUG=False
- Date: Sat, 21 Nov 2015 05:07:02 +0000 (UTC)
commit 42961f8e6b2ba6a86fd2e7d9a66c21100fa41c3f
Author: Pat David <pat patdavid net>
Date: Fri Nov 20 23:06:57 2015 -0600
pelicanconf.py: set RELATIVE_URLS=False, PAGES_DEBUG=False
pelicanconf.py | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/pelicanconf.py b/pelicanconf.py
index 908678d..92c57e8 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -21,9 +21,7 @@ SITEURL = 'http://static.gimp.org'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
-
DEFAULT_LANG = u'en'
-
DEFAULT_DATE_FORMAT = "%Y-%m-%d"
# Feed generation is usually not desired when developing
@@ -49,8 +47,6 @@ SOCIAL = (('You can add links in your config file', '#'),
DEFAULT_PAGINATION = False
-# Uncomment following line if you want document-relative URLs when developing
-RELATIVE_URLS = True
# Pat David changes while building/testing
@@ -59,7 +55,6 @@ READERS = {'html': None}
# This will copy over these folders w/o modification
STATIC_PATHS = ['images', 'js', 'pages', 'tutorials', 'about', 'books', 'develop', 'docs', 'donating',
'downloads', 'features', 'bugs', 'links', 'man', 'release-notes', 'screenshots', 'source', 'unix',
'robots.txt', 'COPYING', 'GNUGPLv2', 'GNUGPLv3', 'news']
-
# This sets which directories will be parsed as pages (vs. news/articles)
# If a new directory is to be added under content/, make sure it gets added hereMarkdown.
PAGE_PATHS = ['about', 'frontpage', 'tutorials', 'books', 'develop', 'docs', 'donating', 'downloads',
'features', 'bugs', 'links', 'man', 'release-notes', 'screenshots', 'source', 'unix']
@@ -85,7 +80,6 @@ ARTICLE_SAVE_AS = "news/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html"
INDEX_SAVE_AS = "/news/index.html"
-
TYPOGRIFY = True
TYPOGRIFY_IGNORE_TAGS = ['title']
@@ -100,4 +94,8 @@ DEFAULT_PAGINATION = 10
# Debug output on pages
# Seting to 'True' will show child/parent pages at bottom of pages
-PAGES_DEBUG = True
+PAGES_DEBUG = False
+
+# When developing, you probably want document relative URLs - so set this to True
+# When publishing, set to False
+RELATIVE_URLS = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]