[gimp-web/pat/py3] Testing more FEED stuff



commit 3cbeef6f646cc04a7fc61990b471d6cf9ffd775d
Author: Pat David <patdavid gmail com>
Date:   Fri Feb 7 10:59:46 2020 -0600

    Testing more FEED stuff
    
    The FEED_DOMAIN needs to be set initially otherwise it borks local
    testing.

 pelicanconf_common.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/pelicanconf_common.py b/pelicanconf_common.py
index af17150b..b7d84713 100644
--- a/pelicanconf_common.py
+++ b/pelicanconf_common.py
@@ -25,8 +25,14 @@ TRANSLATION_FEED_RSS = None
 AUTHOR_FEED_ATOM = None
 AUTHOR_FEED_RSS = None
 
-DELETE_OUTPUT_DIRECTORY = False
+# BEGIN: Pat testing feeds being generated
 RELATIVE_URLS = False
+FEED_DOMAIN = SITEURL
+FEED_ATOM = 'feeds/atom.xml'
+FEED_RSS = 'feeds/rss.xml'
+# END:   Pat testing feeds being generated
+
+DELETE_OUTPUT_DIRECTORY = False
 
 def customize_environment(environment):
     global SITEURL, SITEMAP_SITEURL
@@ -66,6 +72,7 @@ def customize_environment(environment):
     # When publishing, set to False
     RELATIVE_URLS = True if environment == 'local' else False
 
+
 #######################################
 ## Values common to all environments ##
 #######################################


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]