-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpelicanconf.py
More file actions
103 lines (80 loc) · 2.38 KB
/
Copy pathpelicanconf.py
File metadata and controls
103 lines (80 loc) · 2.38 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
AUTHOR = 'EUMETNET PP Module'
SITENAME = 'EUMETNET EUPP Benchmark'
SITEURL = ""
SITETITLE = "EUPP Benchmark"
PATH = "content"
TIMEZONE = 'Europe/Rome'
DEFAULT_LANG = 'en'
# 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
# Feed Items
FEED_MAX_ITEMS = 15
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
# Blogroll
LINKS = (
("Datasets documentation", "https://eupp-benchmark.github.io/EUPPBench-doc/"),
# ("News", SITEURL + "news.html"),
)
# Social widget
SOCIAL = (
("You can add links in your config file", "#"),
("Another social link", "#"),
)
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME = "/home/jodemaey/pelican-themes/website-pelican-theme"
BROWSER_COLOR = "#94c1cf"
SITEDESCRIPTION = "Presentation and News about the EUPP Benchmark activities"
SITELOGO = SITEURL + "/images/EUMETNETLogo.png"
FAVICON = SITEURL + "/images/EUMETNETLogo.png"
ROBOTS = "index, follow"
CC_LICENSE = {
"name": "Creative Commons Attribution-ShareAlike",
"version": "4.0",
"slug": "by-sa"
}
COPYRIGHT_YEAR = 2024
# STATIC_PATHS = ["extra/custom.css"]
#
# EXTRA_PATH_METADATA = {
# "extra/custom.css": {"path": "static/custom.css"},
# }
#
# CUSTOM_CSS = "static/custom.css"
MAIN_MENU = True
# ADD_THIS_ID = "ra-77hh6723hhjd"
# DISQUS_SITENAME = "yoursite"
# GOOGLE_ANALYTICS = "UA-1234-5678"
# GOOGLE_TAG_MANAGER = "GTM-ABCDEF"
# # Enable i18n plugin.
# PLUGINS = ["i18n_subsites"]
# # Enable Jinja2 i18n extension used to parse translations.
# JINJA_ENVIRONMENT = {"extensions": ["jinja2.ext.i18n"]}
#
# # Translate to German.
# DEFAULT_LANG = "de"
# OG_LOCALE = "de_DE"
# LOCALE = "de_DE"
#
# # Default theme language.
# I18N_TEMPLATES_LANG = "en"
#
# # Pelican-search Configuration
# STORK_INPUT_OPTIONS = {"stemming": "German", "url_prefix": SITEURL}
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
THEME_COLOR_ENABLE_USER_OVERRIDE = True
GITHUB_CORNER_URL = "https://github.com/EUPP-benchmark"
# move the original article index elsewhere:
INDEX_SAVE_AS = 'news.html'
# ordering page
PAGE_ORDER_BY = "page-order"
# news path
ARTICLE_PATHS = ['news']
ARTICLE_SAVE_AS = '{date:%Y}/{slug}.html'
ARTICLE_URL = '{date:%Y}/{slug}.html'