diff --git a/doc/_themes/pretix_theme/layout.html b/doc/_themes/pretix_theme/layout.html
index 4279e4b66..741533a4e 100644
--- a/doc/_themes/pretix_theme/layout.html
+++ b/doc/_themes/pretix_theme/layout.html
@@ -95,9 +95,9 @@
{% block sidebartitle %}
{% if logo and theme_logo_only %}
-
+
{% else %}
- {{ project }}
+ {{ project }}
{% endif %}
{% if logo %}
@@ -149,7 +149,7 @@
diff --git a/doc/_themes/pretix_theme/static/css/theme.css b/doc/_themes/pretix_theme/static/css/pretix.css
similarity index 100%
rename from doc/_themes/pretix_theme/static/css/theme.css
rename to doc/_themes/pretix_theme/static/css/pretix.css
diff --git a/doc/_themes/pretix_theme/theme.conf b/doc/_themes/pretix_theme/theme.conf
index f96b5840f..47d83720c 100644
--- a/doc/_themes/pretix_theme/theme.conf
+++ b/doc/_themes/pretix_theme/theme.conf
@@ -1,6 +1,6 @@
[theme]
inherit = basic
-stylesheet = css/theme.css
+stylesheet = css/pretix.css
[options]
typekit_id = hiw1hhg
diff --git a/doc/conf.py b/doc/conf.py
index 1cfbeeb1b..d2108628f 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -221,7 +221,7 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
- ('index', 'pretix.tex', 'pretix Documentation',
+ ('contents', 'pretix.tex', 'pretix Documentation',
'Raphael Michel', 'manual'),
]