from __future__ import unicode_literals import time BLOG_AUTHOR = "Don Harper" # (translatable) BLOG_TITLE = "duckland.org" # (translatable) SITE_URL = "https://www.duckland.org/" BASE_URL = "https://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: ( ('/', 'Home'), ('/stories/about.html', 'About me'), ("/stories/privacy.html", "Privacy/GDPR"), ('/photos/', 'Photos'), ( ( ('http://www.donaldharper.com', 'My Photo Blog'), #('http://p365.donaldharper.com', 'My Attempt at a Project 365'), ('https://www.duckland.org', 'My Personal and Tech Blog'), ), 'My Sites' ), ( ( ('https://twitter.com/duckunix', 'My Twitter'), ('http://www.linkedin.com/in/donaldharper/', 'My LinkedIN'), ('https://flickr.com/photos/duckunix', 'My Flickr'), ), 'Social Sites' ), ("/archive.html", "Archive"), ("/categories/", "Tags"), ('/rss.xml', 'RSS'), ), } GLOBAL_CONTEXT_FILLER = [] THEME = 'canterville' LOGO_URL = '/assets/img/favicon.ico' GLOBAL_CONTEXT = { 'TWITTER_URL': 'https://twitter.com/duckunix', 'FLICKR_URL': 'https://www.flickr.com/photos/duckunix/', 'BANNER_URL': '/assets/img/beach.jpg', 'LOGO_URL': '/assets/img/favicon.ico' } TIMEZONE = "America/Chicago" DATE_FORMAT = 'YYYY-MM-dd' JS_DATE_FORMAT = 'YYYY-MM-dd' DATE_FANCINESS = 0 PRETTY_URLS = False NEW_POST_DATE_PATH = False NEW_POST_DATE_PATH_FORMAT = '%Y/%m' POSTS = ( ("posts/*.md", "posts", "post.tmpl"), ("posts/*.rst", "posts", "post.tmpl"), ("posts/*.txt", "posts", "post.tmpl"), ("posts/*.html", "posts", "post.tmpl"), ("posts/*.wp", "posts", "post.tmpl"), ) PAGES = ( ("stories/*.md", "stories", "story.tmpl"), ("stories/*.rst", "stories", "story.tmpl"), ("stories/*.txt", "stories", "story.tmpl"), ) COMPILERS = { "markdown": ('.md', '.mdown', '.markdown'), "rest": ('.rst', '.txt'), "textile": ('.textile',), "txt2tags": ('.t2t',), "bbcode": ('.bb',), "wiki": ('.wiki',), "ipynb": ('.ipynb',), "html": ('.html', '.htm', '.wp'), "php": ('.php',), } WRITE_TAG_CLOUD = False SHOW_BLOG_TITLE = True FEED_LENGTH = 10 REDIRECTIONS = [] IMAGE_FOLDERS = {'images': 'images'} INDEX_READ_MORE_LINK = '

{read_more}

' FEED_READ_MORE_LINK = '

{read_more} ({min_remaining_read})

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

{read_more}...

' FEED_READ_MORE_LINK = '

{read_more}... ({min_remaining_read})

' LICENSE = "" CONTENT_FOOTER = 'Contents © {date} {author} {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 FILE_METADATA_UNSLUGIFY_TITLES = True LOGGING_HANDLERS = { 'stderr': {'loglevel': 'INFO', 'bubble': True}, 'smtp': { 'from_addr': 'www.donaldharper.com@duckland.org', 'recipients': ('duck@duckland.org'), 'server_addr': ('127.0.0.1',25), 'secure': (), 'level': 'WARNING', 'bubble': False } } CREATE_MONTHLY_ARCHIVE = True GENERATE_RSS = True FEED_TEASERS = False INDEX_TEASERS = True FEED_LENGTH = 100 WRITE_TAG_CLOUD = False CATEGORY_PAGES_ARE_INDEXES = True INDEX_DISPLAY_POST_COUNT = 10 LESS_COMPILER = 'lessc' LESS_OPTIONS = [] SASS_COMPILER = 'sass' SASS_OPTIONS = [] #----------- # One or more folders containing galleries. The format is a dictionary of # {"source": "relative_destination"}, where galleries are looked for in # "source/" and the results will be located in # "OUTPUT_PATH/relative_destination/gallery_name" # Default is: GALLERY_FOLDERS = {"galleries": "galleries"} # More gallery options: THUMBNAIL_SIZE = 180 MAX_IMAGE_SIZE = 1280 USE_FILENAME_AS_TITLE = True EXTRA_IMAGE_EXTENSIONS = []