diff --git a/invenio_theme_tugraz/config.py b/invenio_theme_tugraz/config.py index 13afa11..492a25c 100644 --- a/invenio_theme_tugraz/config.py +++ b/invenio_theme_tugraz/config.py @@ -28,9 +28,12 @@ THEME_LOGO = 'images/tug_logo.png' THEME_HEADER_TEMPLATE = 'invenio_theme_tugraz/header.html' """TU Graz header template""" -THEME_FRONTPAGE_TEMPLATE = 'invenio_theme_tugraz/frontpage.html' +# THEME_FRONTPAGE_TEMPLATE = 'invenio_theme_tugraz/frontpage.html' """Frontpage template""" +THEME_FRONTPAGE = False +"""Use default frontpage.""" + THEME_HEADER_LOGIN_TEMPLATE = 'invenio_theme_tugraz/accounts/header_login.html' """login page header""" diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html index ced67ed..6192899 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html @@ -6,12 +6,8 @@ modify it under the terms of the MIT License; see LICENSE file for more details. #} - - -
- - - - {%- block page_body %}{%- endblock page_body %} - - + +{% extends config.BASE_TEMPLATE %} + + + diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html index 9a17b3f..a146d4a 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html @@ -60,7 +60,7 @@