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

AUTHOR = u'Rami Taibah'
SITENAME = u"Rami's Blog"
SITEURL = ''

PATH = 'content'


TIMEZONE = 'Asia/Riyadh'

DEFAULT_LANG = u'en'
THEME = "/Users/rami/pelican-themes/Flex"


# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

# Blogroll
LINKS = (('Blog', '/category/blog'),
         ('Books', '/category/books'),
         ('Portfolio', 'http://jinja.pocoo.org/'),)

# Social widget
SOCIAL = (('Twitter', 'http://twitter.com/rtaibah'),
          ('Keybase', 'http://keybase.io/rami'),
          ('Github', 'http://github.com/rtaibah'),)

DEFAULT_PAGINATION = 10

# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True

# Summary Max Length
# SUMMARY_MAX_LENGTH = 50

# Ignore cache
LOAD_CONTENT_CACHE = False

# Display sub-pages in the menu
DISPLAY_PAGES_ON_MENU = True

# Permalink Structure
ARTICLE_URL = '{category}/{date:%Y}/{date:%b}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = '{category}/{date:%Y}/{date:%b}/{date:%d}/{slug}/index.html'
PAGE_URL = 'pages/{slug}/'
PAGE_SAVE_AS = 'pages/{slug}/index.html'

# Static Content
STATIC_PATHS = ['images', 'pdfs']
