[gimp-web/migrate/py3: 62/65] Modify pelicanconf.local.py
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/migrate/py3: 62/65] Modify pelicanconf.local.py
- Date: Fri, 12 Jul 2019 20:51:25 +0000 (UTC)
commit f74667a7fca74ed941308ec882a39e48a15b9b75
Author: Pat David <patdavid gmail com>
Date: Thu Jul 11 23:03:39 2019 -0500
Modify pelicanconf.local.py
Two issues in the current config:
1. The PAGE_SAVE_AS was throwing an error on using {filename} in
the SAVE_AS path. Not sure why - need to investigate!
2. I had to remove the i18n subsite plugin for now. This needs
further investigation as well.
pelicanconf.local.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/pelicanconf.local.py b/pelicanconf.local.py
index 60b37c50..3308249b 100644
--- a/pelicanconf.local.py
+++ b/pelicanconf.local.py
@@ -4,7 +4,8 @@ from __future__ import unicode_literals
#Plugins
PLUGIN_PATHS = ["plugins"]
-PLUGINS = ["mimic_hierarchy", "i18n_subsites", "sitemap", "gimp_mirrors", "tipue_search", "random_header"]
+#PLUGINS = ["mimic_hierarchy", "i18n_subsites", "sitemap", "gimp_mirrors", "tipue_search", "random_header"]
+PLUGINS = ["mimic_hierarchy", "sitemap", "gimp_mirrors", "tipue_search", "random_header"]
# sitemap plugin settings
SITEMAP = {
@@ -88,8 +89,8 @@ ARTICLE_PATHS = ['news']
THEME = "./themes/newgimp"
PAGE_URL = "{slug}/"
-#PAGE_SAVE_AS = "{slug}/index.html"
-PAGE_SAVE_AS = "{slug}/{filename}"
+PAGE_SAVE_AS = "{slug}/index.html"
+#PAGE_SAVE_AS = "{slug}/{filename}"
ARTICLE_URL = "news/{date:%Y}/{date:%m}/{date:%d}/{slug}/"
ARTICLE_SAVE_AS = "news/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]