Le Blog d'un *Geekus biologicus* juvénile.
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.
 
 
 
 
 
 

74 lines
2.2 KiB

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
import datetime
AUTHOR = 'Samuel ORTION'
SITENAME = 'BioloGeek\'s blog'
SITESUBTITLE = 'The Blog of a juvenile Geekus biologicus'
SITEURL = 'https://blog.samuel.ortion.fr'
SITEDESCRIPTION = 'This is the informal Blog of Samuel ORTION, a juvenil Geekus biologicus enjoying computer science, machine learning, bird watching, taking photographs and more ;-).'
FAVICON = "images/favicon.ico"
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['i18n_subsites']
I18N_SUBSITES = {
'fr': {
'SITENAME': 'Blog de Samuel ORTION',
'SITESUBTITLE': 'Le blog de Samuel ORTION, un Geekus biologicus juvénile',
'SITEDESCRIPTION': 'C\' est le blog de Samuel ORTION, un jeune Geekus biologicus. Étudiant en bioinformatique, appréciant la biologie, l\'informatique entre autres choses',
'LINKS': (('site web', 'https://samuel.ortion.fr'),
('forge', 'https://forge.chapril.org/UncleSamulus'),
('galerie', 'https://gallery.samuel.ortion.fr'))
}
}
LANGUAGES = [
('en', '/', 'English'),
('fr', '/fr', 'Français'),
]
DEFAULT_LANG = 'en'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
# Feed generation is usually not desired when developing
FEED_DOMAIN = SITEURL
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
FAVICON = "favicon.ico"
MAIN_MENU = True
CC_LICENSE = {
'slug': 'by-sa',
'version': '4.0',
'name': 'Attribution-ShareAlike'
}
CC_URL = "https://creativecommons.org/licenses/by-sa/4.0/"
COPYRIGHT_NAME = "Samuel ORTION"
COPYRIGHT_YEAR = datetime.datetime.now().year
GITEA_CORNER_URL = "https://forge.chapril.org/UncleSamulus/blog"
# Blogroll
LINKS = (('website', 'https://samuel.ortion.fr'),
('forge', 'https://forge.chapril.org/UncleSamulus'),
('gallery', 'https://gallery.samuel.ortion.fr'))
# Social widget
SOCIAL = (('mastodon', 'https://mamot.fr/@unclesamulus'),
('twitter', 'https://twitter.com/SAmULuUus'),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
THEME = 'themes/Flex'