-
Notifications
You must be signed in to change notification settings - Fork 2
/
conf.py
97 lines (83 loc) · 2.64 KB
/
conf.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
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
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import time
BLOG_AUTHOR = "FunkFeuer Wien - Verein zur Förderung freier Netze"
BLOG_TITLE = "FunkFeuer.at"
SITE_URL = "/"
BLOG_EMAIL = "[email protected]"
BLOG_DESCRIPTION = "FunkFeuer.at"
THEME = 'funkfeuer.at-theme'
USE_BUNDLES = False
FAVICONS = (
("icon", "assets/favicon.ico", "16x16"),
)
# A HTML fragment describing the license, for the sidebar.
# (translatable)
LICENSE = ""
DEFAULT_LANG = "de"
TRANSLATIONS_PATTERN = "{path}.{lang}.{ext}"
TRANSLATIONS = {
DEFAULT_LANG: "",
# "en": "./en",
}
NAVIGATION_LINKS = {
DEFAULT_LANG: (
('https://map.funkfeuer.at/', 'Karte'),
('https://wiki.funkfeuer.at/', 'Wiki'),
('https://forum.funkfeuer.at/', 'Forum'),
('https://housing.funkfeuer.at/', 'Server Housing'),
('https://wiki.funkfeuer.at/wiki/0xFF_in_der_Presse', 'Presse'),
('/about/', 'Über uns'),
('/impressum/', 'Kontakt'),
),
}
CONTENT_FOOTER = 'FunkFeuer Wien - Verein zur Förderung freier Netze ‐ <a href="/impressum/">Impressum</a>'
TIMEZONE = "Europe/Vienna"
COMPILERS = {
"markdown": ('.md', '.mdown', '.markdown'),
"rest": ('.rst', '.txt'),
"html": ('.html', '.htm'),
}
# Writes tag cloud data in form of tag_cloud_data.json.
# Warning: this option will change its default value to False in v8!
WRITE_TAG_CLOUD = False
IMAGE_FOLDERS = {'images': 'images'}
MAX_IMAGE_SIZE = 2048
# IMAGE_THUMBNAIL_SIZE = 400
INDEX_TEASERS = True
# 'Read more...' for the index page, if INDEX_TEASERS is True (translatable)
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}…</a></p>'
# 'Read more...' for the feeds, if FEED_TEASERS is True (translatable)
FEED_READ_MORE_LINK = '<p><a href="{link}">{read_more}…</a> ({min_remaining_read})</p>'
CONTENT_FOOTER_FORMATS = {
DEFAULT_LANG: (
(),
{
"email": BLOG_EMAIL,
"author": BLOG_AUTHOR,
"date": time.gmtime().tm_year,
"license": LICENSE
}
)
}
STRIP_INDEXES = True
PRETTY_URLS = True
COPY_SOURCES = False
MARKDOWN_EXTENSIONS = ['fenced_code', 'codehilite', 'extra', 'attr_list', 'admonition']
FILE_METADATA_UNSLUGIFY_TITLES = True
ENABLE_AUTHOR_PAGES = False
COMMENT_SYSTEM = False
INDEX_PATH = "aktuelles"
ARCHIVE_PATH = "posts"
POSTS = (
("posts/*.rst", "posts", "post.tmpl"),
("posts/*.md", "posts", "post.tmpl"),
("posts/*.txt", "posts", "post.tmpl"),
("posts/*.html", "posts", "post.tmpl"),
)
PAGES = (
("pages/*.rst", "", "story.tmpl"),
("pages/*.md", "", "story.tmpl"),
("pages/*.txt", "", "story.tmpl"),
("pages/*.html", "", "story.tmpl"),
)