-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
57 lines (44 loc) · 1.52 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Nedss'
SITENAME = "Nedss en Vrac !"
SITEURL = ''
THEME = 'pelican-themes/pure-single'
PATH = 'content'
STATIC_PATHS = ['assets', 'images']
TAGLINE = "Mes passions en vrac : Culture japonaise, jeux-vidéos et bien d'autres !"
COVER_IMG_URL = "/assets/img/banner.jpeg"
PROFILE_IMG_URL = "/assets/img/nedss_wankul.png"
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = 'fr'
# 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 = (('twitter', 'http://www.twitter.com/Nedss_'),
('github', 'http://github.com/nedss'),)
MENUITEMS = (
('Accueil', '/index.html'),
('Historique', '/archives.html'),
('Categories', '/categories.html'),)
CATEGORY_URL = 'category/{slug}.html'
CATEGORY_SAVE_AS = 'category/{slug}.html'
PAGE_URL = 'pages/{slug}/'
PAGE_SAVE_AS = 'pages/{slug}/index.html'
DEFAULT_PAGINATION = 10
DISPLAY_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = True
DELETE_OUTPUT_DIRECTORY = True
DISQUS_SITENAME = "gitnev"
GOOGLE_ANALYTICS = "UA-127639062-1"
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True