[gimp-web/testing] Fix path for gimp_versions.json on testing
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Fix path for gimp_versions.json on testing
- Date: Mon, 2 Dec 2019 22:28:08 +0000 (UTC)
commit 52ef66443196e3a7061490817cd3d69be0ba7c89
Author: Pat David <patdavid gmail com>
Date: Mon Dec 2 16:28:20 2019 -0600
Fix path for gimp_versions.json on testing
pelicanconf.testing.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pelicanconf.testing.py b/pelicanconf.testing.py
index 941f4838..b9ded5e0 100644
--- a/pelicanconf.testing.py
+++ b/pelicanconf.testing.py
@@ -78,7 +78,7 @@ DEFAULT_PAGINATION = False
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', 'contribute.json', '.htaccess',
'content/gimp_versions.json']
+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', 'contribute.json', '.htaccess', 'gimp_versions.json']
# 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.
@@ -132,7 +132,7 @@ RELATIVE_URLS = True
import json
from collections import OrderedDict
-with open('gimp_versions.json') as data:
+with open('content/gimp_versions.json') as data:
GIMP = json.load(data, object_pairs_hook=OrderedDict)
if 'STABLE' in GIMP:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]