First commit
This commit is contained in:
commit
01c3cfe767
87 changed files with 3472 additions and 0 deletions
72
pelicanconf.py
Normal file
72
pelicanconf.py
Normal file
|
@ -0,0 +1,72 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
|
||||
AUTHOR = 'ephase'
|
||||
SITENAME = 'Xieme-Art'
|
||||
SITEURL = 'https://xieme-art.org'
|
||||
DEFAULT_PAGINATION = 10
|
||||
|
||||
PAGINATION_PATTERNS = (
|
||||
(1, '{base_name}/', '{base_name}/index.html'),
|
||||
(2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
|
||||
)
|
||||
|
||||
MENUITEMS = (
|
||||
('Tags', 'tags.html'),
|
||||
('Catégories', 'categories.html'),
|
||||
)
|
||||
|
||||
LINKS = (
|
||||
('Giroll', 'https://giroll.org'),
|
||||
('Aquilenet', "https://aquilenet.fr"),
|
||||
)
|
||||
# Social widget
|
||||
SOCIAL = (
|
||||
('mastodon', 'https://toot.aquilenet.fr/@ephase'),
|
||||
)
|
||||
|
||||
|
||||
PATH = 'content'
|
||||
ARTICLE_PATHS = ['articles']
|
||||
ARTICLE_URL = 'post/{slug}/'
|
||||
ARTICLE_SAVE_AS = 'post/{slug}/index.html'
|
||||
CATEGORY_URL = 'category/{slug}/'
|
||||
CATEGORY_SAVE_AS = 'category/{slug}/index.html'
|
||||
TAG_URL = 'tag/{slug}/'
|
||||
TAG_SAVE_AS = 'tag/{slug}/index.html'
|
||||
AUTHOR_SAVE_AS = 'author/{slug}/index.html'
|
||||
AUTHOR_URL = 'author/{slug}/'
|
||||
STATIC_PATHS = ['assets']
|
||||
TIMEZONE = 'Europe/Paris'
|
||||
DEFAULT_LANG = 'fr'
|
||||
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = "feeds/all.atom.xml"
|
||||
TAG_FEED_ATOM = "feeds/tag_{slug}.xml"
|
||||
CATEGORY_FEED_ATOM = None
|
||||
TRANSLATION_FEED_ATOM = None
|
||||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
THEME = '/home/ephase/Documents/sites/xieme-art/theme'
|
||||
PLUGIN_PATHS = ['plugins']
|
||||
PLUGINS = ['neighbors']
|
||||
|
||||
# Attila theme
|
||||
HEADER_COVER = 'assets/backgrounds/sigean.jpg'
|
||||
COLOR_SCHEME_CSS = 'monokai.css'
|
||||
|
||||
AUTHORS_BIO = {
|
||||
"ephase": {
|
||||
"name": "ephase",
|
||||
"website": "https://toot.aquilenet.fr/@ephase",
|
||||
"location": "France",
|
||||
"image": "assets/souris.svg",
|
||||
"bio": "Geek Libriste et gameur depuis 1979, co-fondateur du collectif Giroll et administrateur système en devenir. Je ne joue que sur des machines Linux / BSD",
|
||||
}
|
||||
}
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
# RELATIVE_URLS = True
|
Loading…
Add table
Add a link
Reference in a new issue