58 lines
1.8 KiB
Python
58 lines
1.8 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
TOOLBOX = False # Displays some variables from toolbox.html
|
|
|
|
AUTHOR = 'Gnuragistes'
|
|
SITENAME = 'Gnuragist.es'
|
|
SITEURL = 'https://gnuragist.es'
|
|
|
|
PATH = 'content'
|
|
STATIC_PATHS = ['images','fichiers']
|
|
PAGE_PATHS = ['pages']
|
|
|
|
TIMEZONE = 'Europe/Brussels'
|
|
|
|
DEFAULT_LANG = u'fr'
|
|
|
|
# Les fichiers produits sont mis dans des dossiers
|
|
ARTICLE_URL = '/{category}/{slug}.html'
|
|
ARTICLE_SAVE_AS = '{category}/{slug}.html'
|
|
PAGE_SAVE_AS = '{slug}.html'
|
|
|
|
|
|
# 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
|
|
|
|
# Liens statiques utilisés dans le menu.
|
|
# ('texte affiché','url','icone ForkAwsome')
|
|
# Pour les icones ForkAwsome voir https://forkaweso.me/Fork-Awesome/cheatsheet/
|
|
MENUITEMS = (('Home', './', 'fa-home'),
|
|
('Wiki', 'https://wiki.gnuragist.es', 'fa-book'),
|
|
('Git Sources', 'https://git.gnuragist.es/git/wildebeest/website','fa-gitea'),
|
|
('Webmail', 'https://mamifere.gnuragist.es','fa-envelope'),
|
|
('Pads', 'https://doc.gnuragist.es','fa-file-text'),
|
|
('Forum', 'https://ps.zoethical.org/c/ps/gnuragistes/130','fa-activitypub'),)
|
|
|
|
# Social widget
|
|
SOCIAL = (('You can add links in your config file', '#'),
|
|
('Another social link', '#'),)
|
|
|
|
DEFAULT_PAGINATION = True
|
|
|
|
THEME = 'template/gnuragistes'
|
|
|
|
# Exclure des éléments inutiles… mais ça fonctionne pas ??
|
|
#STATIC_EXCLUDES = ['template/gnuragistes/static/css/Fork-Awesome/.github', 'template/gnuragistes/static/css/Fork-Awesome/*']
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
#RELATIVE_URLS = True
|
|
|
|
|
|
DISPLAY_PAGES_ON_MENU = True
|
|
# Pour ignorer le contenu de template/gnuragistes/static/css/Fork-Awesome/.git et tout ce qui est .git
|
|
IGNORE_FILES = ['.git'] |