mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 13:11:56 +00:00
31 lines
808 B
Python
31 lines
808 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
# Copyright (C) 2020 Mojib Wali.
|
|
#
|
|
# invenio-config-tugraz is free software; you can redistribute it and/or
|
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
|
# details.
|
|
|
|
"""invenio module that adds tugraz configs."""
|
|
|
|
# TODO: This is an example file. Remove it if you do not need it, including
|
|
# the templates and static folders as well as the test case.
|
|
|
|
from flask import Blueprint, render_template
|
|
from flask_babelex import gettext as _
|
|
|
|
blueprint = Blueprint(
|
|
'invenio_config_tugraz',
|
|
__name__,
|
|
template_folder='templates',
|
|
static_folder='static',
|
|
)
|
|
|
|
|
|
@blueprint.route("/")
|
|
def index():
|
|
"""Render a basic view."""
|
|
return render_template(
|
|
"invenio_config_tugraz/index.html",
|
|
module_name=_('invenio-config-tugraz'))
|