#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.

import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *

RELATIVE_URLS = False
DELETE_OUTPUT_DIRECTORY = True

GOOGLE_ANALYTICS = 'UA-11952759-2'

# Following items are often useful when publishing

# My Changes

AUTHOR = u'mr.rcollins'
SITENAME = u'RyanCollins.org'

SITEURL = 'https://ryancollins.org'

TIMEZONE = 'America/New_York'

DEFAULT_LANG = u'en'

USE_FOLDER_AS_CATEGORY = (False)

DISQUS_SITENAME = 'ryancollinsorg'

MARKUP = (('rst', 'md', 'markdown'))

ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'

AUTHOR_URL = ('author/{slug}/')  
AUTHOR_SAVE_AS = ('author/{slug}/index.html')

CATEGORY_URL = ('category/{slug}/') 
CATEGORY_SAVE_AS = ('category/{slug}/index.html')  
TAG_URL = ('tag/{slug}/') 
TAG_SAVE_AS = ('tag/{slug}/index.html')

PAGE_URL = ('{slug}/')
PAGE_SAVE_AS = ('{slug}/index.html')

#FEED_RSS = 'feed/index.html'
FEED_ALL_RSS = 'feed/index.rss'
CATEGORY_FEED_RSS = 'feed/category/%s.rss'
TAG_FEED_RSS = 'feed/tag/%s.rss'

# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'feed/index.atom'
CATEGORY_FEED_ATOM = 'feed/category/%s.atom'
TAG_FEED_ATOM = 'feed/tag/%s.atom'
TRANSLATION_FEED_ATOM = None

#THEME = 'themes/notmyidea-goz/'
THEME = 'themes/bricks/'

# End My changes

# 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', '#'),)

LINKS = (
        ('Eduk8me','https://eduk8.me'),
        ('Keybase.io','https://keybase.io/mr_rcollins'),
        )

# Social widget
SOCIAL = (('@mr_rcollins', 'https://twitter.com/mr_rcollins'),
        ('mrrcollins', 'https://github.com/mrrcollins'),)

DEFAULT_PAGINATION = 10
