1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/pelicanconf.py

71 lines
1.6 KiB
Python
Raw Normal View History

2016-05-13 21:13:23 +01:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Jake Howard'
SITENAME = 'TheOrangeOne'
2016-05-13 21:37:54 +01:00
SITEURL = 'http://theorangeone.net'
2016-05-13 21:13:23 +01:00
PATH = 'content'
TIMEZONE = 'Europe/London'
DEFAULT_LANG = 'en'
# 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 = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 15
2016-05-13 21:37:54 +01:00
DELETE_OUTPUT_DIRECTORY = True
2016-05-13 21:13:23 +01:00
2016-05-13 21:37:54 +01:00
PAGE_PATHS = ["pages"]
PAGE_SAVE_AS = "{slug}/index.html"
PAGE_URL = "{slug}"
THEME = "theme"
THEME_STATIC_DIR = "static"
THEME_STATIC_PATHS = ['static/build']
STATIC_PATHS = ["assets", "assets/favicon.ico"]
EXTRA_PATH_METADATA = {
"assets/favicon.ico": {"path": "favicon.ico"}
}
ARTICLE_PATHS = ["articles"]
ARTICLE_SAVE_AS = "blog/{slug}/index.html"
ARTICLE_URL = "/blog/{slug}/"
TAG_URL = "blog/tag/{slug}/"
TAG_SAVE_AS = "blog/tag/{slug}/index.html"
TAGS_URL = "blog/tags/"
TAGS_SAVE_AS = "blog/tags/index.html"
AUTHOR_URL = "/blog/author/{slug}/"
AUTHOR_SAVE_AS = "blog/author/{slug}/index.html"
AUTHORS_URL = "/blog/authors/"
AUTHORS_SAVE_AS = "blog/authors/index.html"
ARCHIVES_URL = "blog/archive/"
ARCHIVES_SAVE_AS = "blog/archive/index.html"
CATEGORY_SAVE_AS = False
CATEGORIES_SAVE_AS = False
PLUGIN_PATHS = ["plugins"]