feat: add various metatags

This commit is contained in:
2025-06-29 08:56:46 +02:00
parent b2a79b3547
commit 607a442e22
3 changed files with 33 additions and 0 deletions

View File

@@ -3,6 +3,17 @@
{% load custom_tags %}
{% block title %}<title>{% translate "Über uns" %}</title>{% endblock %}
{% block og_title %}
<meta property="og:title" content="{% translate "Über uns" %} - Notfellchen"/>
{% endblock %}
{% block description %}
<meta name="description" content="{% translate 'Erfahre mehr über das Notfellchen-Projekt. Im FAQ werden häufige Fragen beantwortet.' %}">
{% endblock %}
{% block og_description %}
<meta name="og:description" content="{% translate 'Erfahre mehr über das Notfellchen-Projekt. Im FAQ werden häufige Fragen beantwortet.' %}">
{% endblock %}
{% block canonical_url %}{% host %}{% url 'about' %}{% endblock %}
{% block content %}
{% if about_us %}

View File

@@ -1,8 +1,20 @@
{% extends "fellchensammlung/base.html" %}
{% load i18n %}
{% load custom_tags %}
{% block title %}<title>{% translate "Tierschutzorganisationen" %}</title>{% endblock %}
{% block og_title %}
<meta property="og:title" content="{% translate "Tierschutzorganisationen" %} - Notfellchen"/>
{% endblock %}
{% block description %}
<meta name="description" content="{% translate 'Finde Tierschutzorganisationen in deiner Gegend.' %}">
{% endblock %}
{% block og_description %}
<meta name="og:description" content="{% translate 'Finde Tierschutzorganisationen in deiner Gegend.' %}">
{% endblock %}
{% block canonical_url %}{% host %}{% url 'rescue-organizations' %}{% endblock %}
{% block content %}
<div class="block">
<div style="height: 70vh">

View File

@@ -4,6 +4,16 @@
{% load admin_urls %}
{% block title %}<title>{{ org.name }}</title>{% endblock %}
{% block og_title %}
<meta property="og:title" content="{{ org.name }} - Notfellchen"/>
{% endblock %}
{% block description %}
<meta name="description" content="{{ org.name }}: {% translate 'Kontaktdaten und Tiere zur Adoption' %}">
{% endblock %}
{% block og_description %}
<meta name="og:description" content="{{ org.name }}: {% translate 'Kontaktdaten und Tiere zur Adoption' %}">
{% endblock %}
{% block canonical_url %}{% host %}{% url 'rescue-organization-detail' rescue_organization_id=org.id %}{% endblock %}
{% block content %}
<div class="columns">