feat: Add health check endpoint, SEO meta tags, and sitemap/robots support for improved site visibility and functionality

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-27 20:51:33 +02:00
parent fe578d490d
commit 0b08dc51c6
5 changed files with 86 additions and 0 deletions
+14
View File
@@ -8,6 +8,20 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>{% block title %}Digitale Schulverwaltung{% endblock %}</title>
{# Basic SEO meta tags, can be overridden per-template by setting `meta_description` #}
<meta name="description" content="{{ meta_description|default('Invario — Lehrmittel-, Inventar- und Ausleihverwaltung für Schulen. Sicher, einfach, nachvollziehbar.') }}">
<link rel="canonical" href="{{ request.url_root.rstrip('/') }}{{ request.path }}">
<!-- OpenGraph / Twitter -->
<meta property="og:site_name" content="Invario">
<meta property="og:title" content="{% block title %}Digitale Schulverwaltung{% endblock %}">
<meta property="og:description" content="{{ meta_description|default('Invario — Lehrmittel-, Inventar- und Ausleihverwaltung für Schulen. Sicher, einfach, nachvollziehbar.') }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ request.url_root.rstrip('/') }}{{ request.path }}">
<meta property="og:image" content="{{ url_for('static', filename='images/logo-1.jpeg') }}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{% block title %}Digitale Schulverwaltung{% endblock %}">
<meta name="twitter:description" content="{{ meta_description|default('Invario — Lehrmittel-, Inventar- und Ausleihverwaltung für Schulen. Sicher, einfach, nachvollziehbar.') }}">
<meta name="twitter:image" content="{{ url_for('static', filename='images/logo-1.jpeg') }}">
{% block head %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+18
View File
@@ -1,5 +1,8 @@
{% extends "base.html" %}
{# SEO: per-page description used in base.html meta tags #}
{% set meta_description = "Invario bündelt Lehrmittelverwaltung, Inventar und Ausleihe für Schulen sicher, transparent und einfach zu bedienen." %}
{% block title %}Digitale Schulverwaltung mit Sicherheitsfokus{% endblock %}
{% block head %}
@@ -550,6 +553,21 @@
{% endblock %}
{% block content %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Invario",
"url": "{{ request.url_root.rstrip('/') }}",
"description": "{{ meta_description }}",
"publisher": {
"@type": "Organization",
"name": "Invario",
"url": "{{ request.url_root.rstrip('/') }}",
"logo": "{{ url_for('static', filename='images/logo-1.jpeg') }}"
}
}
</script>
<section class="hero" id="top">
<div>
<span class="eyebrow">Lehrmittelverwaltungssoftware für Schulen</span>