[gimp-web/testing] pelicanconf.*: blogroll and social variables unused.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] pelicanconf.*: blogroll and social variables unused.
- Date: Sun, 26 Jan 2020 13:29:34 +0000 (UTC)
commit 5eb99d8c32b341ca8015992c86b71fb2c5268d6e
Author: Jehan <jehan girinstud io>
Date: Sun Jan 26 14:25:51 2020 +0100
pelicanconf.*: blogroll and social variables unused.
As far as I can see, these 2 sections are unused on our website (trying
to enable them and grep the output, nothing is generated from these
lists), and anyway I can clearly see they are currently filled with
generic links (Pelican, Python, etc.) or dev text ('You can add…'). So
anyway let's deactivate these lists of links on all 3 environments. This
removes more differences between the 3 pelican configuration files.
pelicanconf.local.py | 2 +-
pelicanconf.py | 22 +++++++++++++---------
pelicanconf.testing.py | 22 +++++++++++++---------
3 files changed, 27 insertions(+), 19 deletions(-)
---
diff --git a/pelicanconf.local.py b/pelicanconf.local.py
index b095bfeb..dd2233b2 100644
--- a/pelicanconf.local.py
+++ b/pelicanconf.local.py
@@ -65,7 +65,7 @@ WITH_FUTURE_DATES = False
# ('Python.org', 'http://python.org/'),
# ('Jinja2', 'http://jinja.pocoo.org/'),
# ('You can modify those links in your config file', '#'),)
-#
+#
# # Social widget
# SOCIAL = (('You can add links in your config file', '#'),
# ('Another social link', '#'),)
diff --git a/pelicanconf.py b/pelicanconf.py
index 6e0e2c96..dcc04a5f 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -60,15 +60,15 @@ TRANSLATION_FEED_RSS = 'feeds/all-%s.rss.xml'
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
-# Blogroll
-LINKS = (('Pelican', 'http://getpelican.com/'),
- ('Python.org', 'http://python.org/'),
- ('Jinja2', 'http://jinja.pocoo.org/'),
- ('You can modify those links in your config file', '#'),)
-
-# Social widget
-SOCIAL = (('You can add links in your config file', '#'),
- ('Another social link', '#'),)
+# # Blogroll
+# LINKS = (('Pelican', 'http://getpelican.com/'),
+# ('Python.org', 'http://python.org/'),
+# ('Jinja2', 'http://jinja.pocoo.org/'),
+# ('You can modify those links in your config file', '#'),)
+#
+# # Social widget
+# SOCIAL = (('You can add links in your config file', '#'),
+# ('Another social link', '#'),)
DEFAULT_PAGINATION = False
@@ -125,6 +125,10 @@ PAGES_DEBUG = False
# When publishing, set to False
RELATIVE_URLS = False
+###########################################################
+# Functions below for pushing data to the build system
+###########################################################
+
#
# Parse the gimp_versions.json file for use around the site
# (mostly the /downloads/index.html page)
diff --git a/pelicanconf.testing.py b/pelicanconf.testing.py
index f0ade272..1f091bbc 100644
--- a/pelicanconf.testing.py
+++ b/pelicanconf.testing.py
@@ -60,15 +60,15 @@ TRANSLATION_FEED_RSS = 'feeds/all-%s.rss.xml'
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
-# Blogroll
-LINKS = (('Pelican', 'http://getpelican.com/'),
- ('Python.org', 'http://python.org/'),
- ('Jinja2', 'http://jinja.pocoo.org/'),
- ('You can modify those links in your config file', '#'),)
-
-# Social widget
-SOCIAL = (('You can add links in your config file', '#'),
- ('Another social link', '#'),)
+# # Blogroll
+# LINKS = (('Pelican', 'http://getpelican.com/'),
+# ('Python.org', 'http://python.org/'),
+# ('Jinja2', 'http://jinja.pocoo.org/'),
+# ('You can modify those links in your config file', '#'),)
+#
+# # Social widget
+# SOCIAL = (('You can add links in your config file', '#'),
+# ('Another social link', '#'),)
DEFAULT_PAGINATION = False
@@ -125,6 +125,10 @@ PAGES_DEBUG = False
# When publishing, set to False
RELATIVE_URLS = True
+###########################################################
+# Functions below for pushing data to the build system
+###########################################################
+
#
# Parse the gimp_versions.json file for use around the site
# (mostly the /downloads/index.html page)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]