from __future__ import unicode_literals
import time
BLOG_AUTHOR = "Don Harper"  # (translatable)
BLOG_TITLE = "duckland.org news"  # (translatable)
SITE_URL = "http://www.duckland.org/"
BLOG_EMAIL = "duck@duckland.org"
BLOG_DESCRIPTION = "News from duckland.org"  # (translatable)
DEFAULT_LANG = "en"
TRANSLATIONS = {
		DEFAULT_LANG: "",
		# Example for another language:
		# "es": "./es",
		}
TRANSLATIONS_PATTERN = "{path}.{lang}.{ext}"
NAVIGATION_LINKS = {
		DEFAULT_LANG: (
			('/index.html', 'Home'),
			('/stories/about.html', 'About me'),
			(
				(
					('http://www.donaldharper.com', 'My Photo Blog'),
					('http://p365.donaldharper.com', 'My Attempt at a Project 365'),
					('http://www.duckland.org', 'My Personal and Tech Blog'),
					),
				'My Sites'
				),
			(
				(
					('https://twitter.com/duckunix', 'My Twitter'),
					('https://plus.google.com/+DonHarper/', 'My Google+'),
					('http://www.linkedin.com/in/donaldharper/', 'My LinkedIN'),
					),
				'Social Sites'
				),
			("/archive.html", "Archive"),
			("/categories/index.html", "Tags"),
			('/rss.xml', 'RSS'),
			),
		}
THEME = "slate"
TIMEZONE = "CDT6CST"
DATE_FORMAT = '%Y-%m-%d'
JS_DATE_FORMAT = 'YYYY-MM-DD'
DATE_FANCINESS = 1
POSTS = (
		("posts/*.rst", "posts", "post.tmpl"),
		("posts/*.txt", "posts", "post.tmpl"),
		("posts/*.html", "posts", "post.tmpl"),
		("posts/*.wp", "posts", "post.tmpl"),
		)
PAGES = (
		("stories/*.rst", "stories", "story.tmpl"),
		("stories/*.txt", "stories", "story.tmpl"),
		)
COMPILERS = {
		"rest": ('.rst', '.txt'),
		"markdown": ('.md', '.mdown', '.markdown'),
		"textile": ('.textile',),
		"txt2tags": ('.t2t',),
		"bbcode": ('.bb',),
		"wiki": ('.wiki',),
		"ipynb": ('.ipynb',),
		"html": ('.html', '.htm', '.wp'),
		"php": ('.php',),
		}
SHOW_BLOG_TITLE = True
FEED_LENGTH = 10
REDIRECTIONS = []
DEPLOY_COMMANDS = {
		'default': [
			"chmod -R a+rX output/",
			"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l duck' output/ duck@www:httpd/duckland.org/nikola",
			]
		}
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}...a></p>'
RSS_READ_MORE_LINK = '<p><a href="{link}">{read_more}...a> ({min_remaining_read})</p>'
LICENSE = ""
CONTENT_FOOTER = 'Contents &copy; {date}         <a href="mailto:{email}">{author}</a> - Powered by         <a href="http://getnikola.com" rel="nofollow">Nikola</a>         {license}'
CONTENT_FOOTER_FORMATS = {
		DEFAULT_LANG: (
			(),
			{
				"email": BLOG_EMAIL,
				"author": BLOG_AUTHOR,
				"date": time.gmtime().tm_year,
				"license": LICENSE
				}
			)
		}
COMMENT_SYSTEM = ""
COMMENT_SYSTEM_ID = ""
FUTURE_IS_NOW = False
DEPLOY_DRAFTS = False
SCHEDULE_ALL = True
SHOW_SOURCELINK = False
COPY_SOURCES = False
INDEX_DISPLAY_POST_COUNT = 5
UNSLUGIFY_TITLES = True
LOGGING_HANDLERS = {
		#'stderr': {'loglevel': 'INFO', 'bubble': True},
		'smtp': {
			'from_addr': 'www.duckland.org@duckland.org',
			'recipients': ('duck@duckland.org'),
			'server_addr': ('127.0.0.1',25),
			'secure': (),
			'level': 'WARNING',
			'bubble': False
			}
		}
GLOBAL_CONTEXT = {}
GLOBAL_CONTEXT_FILLER = []
CREATE_MONTHLY_ARCHIVE = True

