Last active
December 15, 2015 11:59
-
-
Save gam-phon/5257510 to your computer and use it in GitHub Desktop.
Pelican configuration.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- # | |
from __future__ import unicode_literals | |
AUTHOR = u'Yaser Alraddadi' | |
SITENAME = u"Yaser Alraddadi's Blog" | |
SITEURL = 'www.yr.sa' | |
TIMEZONE = 'Asia/Riyadh' | |
DEFAULT_LANG = u'en' | |
FEED_RSS = 'feeds/all.rss.xml' | |
CATEGORY_FEED_RSS = 'feeds/%s.rss.xml' | |
TRANSLATION_FEED_ATOM = None | |
# Uncomment following line if you want document-relative URLs when developing | |
#RELATIVE_URLS = True | |
#Navigation sections and relative URL: | |
SECTIONS = [('Blog', 'index.html'), | |
('Archive', 'archives.html'), | |
('Tags', 'tags.html'), | |
('Projects', 'pages/projects.html'), | |
('About', 'pages/about-me.html')] | |
DEFAULT_CATEGORY = 'Uncategorized' | |
DATE_FORMAT = { | |
'en': '%d %m %Y' | |
} | |
DEFAULT_DATE_FORMAT = '%d %m %Y' | |
DISQUS_SITENAME = "yaseralraddadi" | |
TWITTER_USERNAME = 'Gam_Phon' | |
GOOGLEPLUS_NUMBER = '106275081470874250475' | |
LINKEDIN_URL = 'http://www.linkedin.com/pub/yaser-alraddadi/61/271/b71' | |
GITHUB_USERNAME = 'gam-phon' | |
PDF_GENERATOR = False | |
REVERSE_CATEGORY_ORDER = True | |
LOCALE = "" | |
DEFAULT_PAGINATION = 15 | |
OUTPUT_PATH = 'output/' | |
GOOGLE_ANALYTICS_ACCOUNT = 'UA-38536678-1' | |
MAIL_USERNAME = 'yaser' | |
MAIL_HOST = 'yr.sa' | |
# static paths will be copied under the same name | |
STATIC_PATHS = ["images"] | |
THEME = "theme-for-my-blog" | |
# A list of files to copy from the source to the destination | |
#FILES_TO_COPY = (('extra/robots.txt', 'robots.txt'),) | |
PLUGIN_PATH = "pelican-plugins" | |
PLUGINS = [ | |
#'pelican.plugins.gzip_cache', | |
'gzip_cache', | |
] | |
MD_EXTENSIONS = (['codehilite','extra', 'toc']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment