You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
codeberg-blog/pelicanconf.py

41 lines
1.0 KiB

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from datetime import date
AUTHOR = u'Codeberg e.V.'
SITENAME = u'Codeberg News'
SITEURL = 'https://blog.codeberg.org.org'
SITEIMAGE = 'https://codeberg.org/img/logo.svg'
PATH = 'content'
OUTPUT_PATH = 'tmp/blog'
TIMEZONE = 'Europe/Paris'
STARTYEAR = '2019'
# comment CURRENTYEAR out if it's the same as STARTYEAR
CURRENTYEAR = date.today().year
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
DELETE_OUTPUT_DIRECTORY = True
THEME = 'themes/codeberg'
# Blogroll
LINKS = (('Codeberg', 'https://codeberg.org/'),
('Join Codeberg e.V.', 'https://join.codeberg.org'),)
# Social widget
SOCIAL = (('Twitter', 'https://twitter.com/codeberg_org'),
('Mastodon', 'https://mastodon.technology/@codeberg'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True