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: "", } 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" #THEME = "duckland" THEME = "superhero" TIMEZONE = "CDT6CST" DATE_FORMAT = '%Y-%m-%d' JS_DATE_FORMAT = 'YYYY-MM-DD' DATE_FANCINESS = 1 PRETTY_URLS = False 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',), } WRITE_TAG_CLOUD = True HIDDEN_TAGS = ['mathjax'] HIDDEN_CATEGORIES = [] SHOW_BLOG_TITLE = True FEED_LENGTH = 10 REDIRECTIONS = [] IMAGE_FOLDERS = {'images': 'images'} INDEX_READ_MORE_LINK = '

{read_more}

' RSS_READ_MORE_LINK = '

{read_more} ({min_remaining_read})

' RSS_LINKS_APPEND_QUERY = False DEPLOY_COMMANDS = { 'default': [ "nikola check -fl", "chmod -R a+rX output/", "rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l duck' output/ www:httpd/duckland.org/nikola", "rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l don' output/ don@web.duckland.org:/srv/http/work/www.duckland.org", ] } INDEX_READ_MORE_LINK = '

{read_more}...a>

' RSS_READ_MORE_LINK = '

{read_more}...a> ({min_remaining_read})

' LICENSE = "" CONTENT_FOOTER = 'Contents © {date} {author} - Powered by Nikola {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 INDEXES_STATIC = False 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 #ARCHIVE_PATH = "posts" #ARCHIVE_FILENAME = "index.html" COIL_SECRET_KEY = b'\x8a\x0f{\x11\xf4\x0c\x92\x86\x14\xc0\xfb\xeeM\xb2\xc1\xa5r\xe12Q\x81GC%' COIL_URL = 'http://coil.duckland.org/' _MAKO_DISABLE_CACHING = True COIL_LIMITED = True COIL_USERS = { '1': { 'username': 'don', 'realname': 'Don Harper', 'password': '$bcrypt-sha256$2a,12$St3N7xoStL7Doxpvz78Jve$3vKfveUNhMNhvaFEfJllWEarb5oNgNu', 'must_change_password': False, 'email': 'info@getnikola.com', 'active': True, 'is_admin': True, 'can_edit_all_posts': True, 'wants_all_posts': True, 'can_upload_attachments': True, 'can_rebuild_site': True, 'can_transfer_post_authorship': True, }, }