summaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'pelicanconf.py')
-rw-r--r--pelicanconf.py49
1 files changed, 39 insertions, 10 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 21f56c5..31ad764 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -1,31 +1,60 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
+import os
AUTHOR = u'Vasudeva Kamath'
SITENAME = u'Random Ramblings'
-SITEURL = ''
+SITEURL = 'http://localhost:8000'
-TIMEZONE = 'Europe/Paris'
+TIMEZONE = 'Asia/Calcutta'
DEFAULT_LANG = u'en'
+# Theme
+THEME = os.path.join(os.environ.get('HOME'),
+ 'Public/pelican-bootstrap3')
+
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
+# Display pages in Menu
+DISPLAY_PAGES_ON_MENU = True
+DEFAULT_PAGINATION = 5
+TAG_CLOUD_MAX_ITEMS = 10
+DISPLAY_CATEGORIES_ON_MENU = False
+DISPLAY_TAGS_ON_SIDEBAR = True
+
+# License of blog
+CC_LICENSE = "CC-BY-NC-SA"
+
+# Github info
+GITHUB_USER = "copyninja"
+
+# code highlighting
+PYGMENTS_STYLE = "solarizelight"
+
+# Bootstrap theme
+BOOTSTRAP_THEME = "cosmo"
+
# 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 = (('Old Blog Archive', 'http://blog-archive.copyninja.info/'),)
# Social widget
-SOCIAL = (('You can add links in your config file', '#'),
- ('Another social link', '#'),)
-
-DEFAULT_PAGINATION = 10
+SOCIAL = (('twitter', 'https://twitter.com/copyninja_'),
+ ('linkedin', 'http://in.linkedin.com/in/kamathvasudev/'),
+ ('github', 'https://github.com/copyninja'),
+ ('pumpio', 'http://identi.ca/copyninja'))
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
+
+# URL generation
+ARTICLE_URL = 'blog/{slug}.html'
+ARTICLE_SAVE_AS = 'blog/{slug}.html'
+PAGE_URL = '{slug}'
+PAGE_SAVE_AS = '{slug}.html'
+TAG_URL = 'tags/{slug}.html'
+TAG_SAVE_AS = 'tags/{slug}.html'