Fixed invenio plugin

This commit is contained in:
2025-05-02 12:13:04 +01:00
parent 9c9add8314
commit 916d655e4a
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
from flask import Blueprint
from flask_menu import current_menu
blueprint = Blueprint(
"custom_menu",
__name__,
)
@blueprint.before_app_first_request
def init_menu():
"""Add custom items to main menu."""
current_menu.submenu("main").register(
"About AM-D-Model",
"https://am-d-model.eu",
order=0,
)