remove old files in prep for migration
153
conf.py
|
|
@ -1,153 +0,0 @@
|
|||
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 = '<p class="more"><a href="{link}">{read_more}</a></p>'
|
||||
FEED_READ_MORE_LINK = '<p><a href="{link}">{read_more}</a> ({min_remaining_read})</p>'
|
||||
FEED_LINKS_APPEND_QUERY = False
|
||||
DEPLOY_COMMANDS = {
|
||||
'default': [
|
||||
"nikola build",
|
||||
#"nikola check -f",
|
||||
"chmod -R a+rX output/",
|
||||
"/usr/bin/rsync -a --delete output/ /var/www/html/duckland2",
|
||||
],
|
||||
'prep': [
|
||||
"cd sigal;sigal build",
|
||||
"nikola build",
|
||||
]
|
||||
}
|
||||
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}...</a></p>'
|
||||
FEED_READ_MORE_LINK = '<p><a href="{link}">{read_more}...</a> ({min_remaining_read})</p>'
|
||||
LICENSE = ""
|
||||
CONTENT_FOOTER = 'Contents © {date} <a href="mailto:{email}">{author}</a> {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 = []
|
||||
BIN
files/pic1.jpg
|
Before Width: | Height: | Size: 846 KiB |
BIN
files/pic2.jpg
|
Before Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 4.3 MiB |
|
Before Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 250 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 1 MiB |
|
Before Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 249 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 349 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 180 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 270 KiB |
|
Before Width: | Height: | Size: 358 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 260 KiB |
|
Before Width: | Height: | Size: 342 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 167 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 329 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 165 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 315 KiB |
|
Before Width: | Height: | Size: 412 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 203 KiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 265 KiB |
|
Before Width: | Height: | Size: 347 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 172 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 481 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 195 KiB |
|
Before Width: | Height: | Size: 256 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 4.8 MiB |
|
Before Width: | Height: | Size: 214 KiB |
|
Before Width: | Height: | Size: 281 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 139 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 548 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 270 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 267 KiB |
|
Before Width: | Height: | Size: 384 KiB |