[gimp-web/testing] Modify pelicanconf.local.py to remove LINKS & SOCIAL



commit eec30cc69bddc1f17e515586177cbc209b4f5ea4
Author: Pat David <patdavid gmail com>
Date:   Fri May 6 11:55:18 2016 -0500

    Modify pelicanconf.local.py to remove LINKS & SOCIAL
    
    The LINKS & SOCIAL settings aren't being used anywhere and
    are just cluttering up the pelicanconf.local.py file.
    I've commented them out for now and will likely remove them
    in a future commit.
    
    Add OUTPUT_SOURCES settings to test outputting source .md files
    alongside the generated output.  Works as expected but not
    enabling for the moment.

 pelicanconf.local.py |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/pelicanconf.local.py b/pelicanconf.local.py
index 11630e1..27e6f25 100644
--- a/pelicanconf.local.py
+++ b/pelicanconf.local.py
@@ -51,15 +51,15 @@ DEFAULT_DATE_FORMAT = "%Y-%m-%d"
 #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
 
@@ -101,6 +101,11 @@ TYPOGRIFY_IGNORE_TAGS = ['title']
 
 DELETE_OUTPUT_DIRECTORY = True
 
+# Testing output of sources
+# Will output the source files alongside the rendered content
+# OUTPUT_SOURCES = True
+# OUTPUT_SOURCES_EXTENSION = '.md' #Writes source files as this extension (default: .text)
+
 MD_EXTENSIONS = ['fenced_code', 'codehilite(css_class=codehilite)', 'extra', 'headerid', 
'toc(permalink=True)']
 
 # Pagination testing stuff


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