-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathpelicanconf.py
56 lines (41 loc) · 1.16 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from datetime import datetime
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.loopcontrols']}
AUTHOR = 'Efstathia Chioteli, Ioannis Batas'
SITENAME = 'BALab'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Europe/Athens'
DEFAULT_LANG = 'English'
# 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 = None
# Social widget
SOCIAL = ()
# Plugins
PLUGIN_PATHS = ['plugins/']
PLUGINS = ['pelican-bibtex']
PUBLICATIONS_SRC = 'content/pubs.bib'
THEME = 'theme'
DIRECT_TEMPLATES = ('publications','index', 'datasets')
DEFAULT_PAGINATION = False
DISPLAY_CATEGORIES_ON_MENU = True
DISPLAY_PAGES_ON_MENU = True
MENUITEMS = (
('Publications', 'publications.html'),
('Datasets', 'datasets.html')
)
# directories to be copied into output/static/
STATIC_PATHS = ['img', 'css', 'js','images/']
# very useful for debugging purposes
DELETE_OUTPUT_DIRECTORY = True
RELATIVE_URLS = True
# Current year for recent publiations
CURRYEAR = datetime.today().year