Compare commits

...

3 commits

Author SHA1 Message Date
Jannis Portmann 9d2bfc4371 Ignore generated files
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-05-19 10:59:16 +02:00
Jannis Portmann 3a689a7cae Add titles and meta description 2023-05-18 15:50:48 +02:00
Jannis Portmann 8356902e3a Fix titles 2023-05-18 15:27:41 +02:00
9 changed files with 36 additions and 14 deletions

15
.gitignore vendored
View file

@ -1,9 +1,14 @@
# Project
plz_verzeichnis_v2.json
django.po
plz.pkl
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
.vscode/settings.json
.vscode/tasks.json
.vscode/launch.json
.vscode/extensions.json
.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/

View file

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% load i18n %}
{% block title %}
{% trans "Not found" %}
{% trans "Forbidden" %}
{% endblock title %}
{% block content %}
<div>

View file

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% load i18n %}
{% block title %}
{% trans "Not found" %}
{% trans "Forbidden" %}
{% endblock title %}
{% block content %}
<div>

View file

@ -1,12 +1,12 @@
{% extends 'base.html' %}
{% load i18n %}
{% block title %}
{% trans "Not found" %}
{% trans "Server error" %}
{% endblock title %}
{% block content %}
<div>
<h1 class="mb-5">
<span class="badge bg-danger">Error 500</span> {% trans "Forbidden" %}
<span class="badge bg-danger">Error 500</span> {% trans "Server error" %}
</h1>
<p class="mb-5 blockquote w-75 m-auto">
{% blocktrans %}Uh-oh! The delicate balance of the botanical realms has been disrupted. The forces of nature are in disarray, and our plant guardians are diligently working to restore harmony. We apologize for any inconvenience caused during this mystical turbulence. Please bear with us as we channel our magic to mend the rupture. Please contact us, if you have any information that could help to dispel the dark magic!{% endblocktrans %}

View file

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block title %}Privacy Policy{% endblock %}
{% load i18n %}
{% block title %}FAQ{% endblock %}
{% block meta %}<meta name="description" content="Frequently asked questions">{% endblock %}
{% block content %}
<h1 class="mb-3">Frequently Asked Questions</h1>
<h2 class="mb-3">Is it free?</h2>

View file

@ -1,5 +1,11 @@
{% extends 'base.html' %}
{% block title %}Privacy Policy{% endblock %}
{% load i18n %}
{% block title %}
{% trans 'Imprint' %}
{% endblock %}
{% block meta %}
<meta name="description" content="Pflänz.li - {% trans 'Imprint' %}">
{% endblock %}
{% block content %}
<h1>Privacy Policy</h1>
<p>

View file

@ -2,7 +2,10 @@
{% load static %}
{% load i18n %}
{% block title %}Home{% endblock %}
{% block meta %}<meta name="description" content="A platform to trade plants.">{% endblock %}
{% block meta %}
<meta name="description"
content="{% trans 'Pflänz.li is a platform to trade plants.' %}">
{% endblock %}
{% block background %}home-background{% endblock %}
{% block content %}
<div class="p-5 mb-4 bg-body-tertiary rounded-3 home-opaque">

View file

@ -4,9 +4,12 @@
<html lang="en" class="h-100">
<head>
<title>Pflänz.li -
{% block title %}{% endblock %}
{% block title %}
{% endblock title %}
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block meta %}
{% endblock meta %}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"

View file

@ -3,7 +3,10 @@
{% load i18n %}
{% load crispy_forms_tags %}
{% block title %}
{% trans 'Filter' %}
{% trans 'Offers' %}
{% endblock %}
{% block meta %}
<meta name="description" content="{% trans 'Search for offers' %}">
{% endblock %}
{% block content %}
<h1 class="mt-3">