Created
April 22, 2018 10:50
-
-
Save jkw/49acd06b174003d6dbbaf1cbfa0cb1a9 to your computer and use it in GitHub Desktop.
Current pelicanconf.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- # | |
from __future__ import unicode_literals | |
AUTHOR = 'jkw' | |
SITENAME = 'jkw of the internet' | |
# SITEURL = 'https://jkw.github.io' | |
PATH = 'content' | |
OUTPUT_PATH = 'docs/' | |
DISPLAY_PAGES_ON_MENU = True | |
ARTICLE_URL = 'a/{date:%d}{date:%m}{date:%y}-{slug}' | |
ARTICLE_SAVE_AS = 'a/{date:%d}{date:%m}{date:%y}-{slug}.html' | |
PAGE_URL = 'p/{slug}' | |
PAGE_SAVE_AS = 'p/{slug}.html' | |
CATEGORY_URL = 'c/{slug}' | |
CATEGORY_SAVE_AS = 'c/{slug}.html' | |
TAG_URL = 't/{slug}' | |
TAG_SAVE_AS = 't/{slug}.html' | |
AUTHOR_URL = 'u/{slug}' | |
AUTHOR_SAVE_AS = 'u/{slug}.html' | |
YEAR_ARCHIVE_SAVE_AS = 'y/{slug}.html' | |
MONTH_ARCHIVE_SAVE_AS = 'm/{slug}.html' | |
DAY_ARCHIVE_SAVE_AS = 'd/{slug}.html' | |
TIMEZONE = 'Europe/Paris' | |
DEFAULT_LANG = 'sv' | |
# 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 = (('Python', 'https://python.org'), | |
('', '#'), | |
('', '#'), | |
('', '#'),) | |
# Social widget | |
SOCIAL = (('Github', '#'), | |
('Hashnode', '#'), | |
('', '#'),) | |
DEFAULT_PAGINATION = 10 | |
# Uncomment following line if you want document-relative URLs when developing | |
# RELATIVE_URLS = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment