API Docs¶
Invenio standard theme.
-
class
invenio_theme.ext.InvenioTheme(app=None, **kwargs)[source]¶ Invenio theme extension.
Extension initialization.
Parameters: - app – An instance of
Flask. - **kwargs – Keyword arguments are passed to
init_appmethod.
- app – An instance of
Bundles¶
Handlers¶
Invenio error handlers.
-
invenio_theme.views.insufficient_permissions(e)[source]¶ Error handler to show a 403.html page in case of a 403 error.
-
invenio_theme.views.internal_error(e)[source]¶ Error handler to show a 500.html page in case of a 500 error.
-
invenio_theme.views.page_not_found(e)[source]¶ Error handler to show a 404.html page in case of a 404 error.
-
invenio_theme.views.too_many_requests(e)[source]¶ Error handler to show a 429.html page in case of a 429 error.
Error handler to show a 401.html page in case of a 401 error.