8abd7ddb59
Ergänzt Backfill- und Hilfsskripte, erzeugt nach der Pixazo-Generierung komprimierte srcset-Varianten, validiert leere Bilder und fügt Favicon, Web Manifest sowie Open-Graph-/Twitter-Tags in die Templates ein. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
1.0 KiB
Django/Jinja
21 lines
1.0 KiB
Django/Jinja
{% set _site_url = site_url | default('https://mobea.de') %}
|
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" sizes="any">
|
|
<link rel="icon" href="/favicon.ico" sizes="32x32">
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<link rel="canonical" href="{{ _site_url }}{{ canonical_path }}">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:site_name" content="MOBEA">
|
|
<meta property="og:locale" content="de_DE">
|
|
<meta property="og:url" content="{{ _site_url }}{{ canonical_path }}">
|
|
{% if og_image %}
|
|
<meta property="og:image" content="{{ _site_url }}{{ og_image }}">
|
|
<meta property="og:image:alt" content="{{ og_title }}">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:image" content="{{ _site_url }}{{ og_image }}">
|
|
{% else %}
|
|
<meta name="twitter:card" content="summary">
|
|
{% endif %}
|
|
<meta name="twitter:title" content="{{ og_title }}">
|
|
<meta name="twitter:description" content="{{ og_description }}">
|