SEO 91% now
This commit is contained in:
1
ht_booking/.gitignore
vendored
1
ht_booking/.gitignore
vendored
@@ -22,3 +22,4 @@ target/
|
||||
# Local secrets (hardcoded admin credentials)
|
||||
.env
|
||||
todo.md
|
||||
*report.html
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
brand = Tenis Rajec
|
||||
meta-description = Book a tennis court in Rajec online. See live availability for every court and reserve your hour in our weekly booking calendar.
|
||||
meta-description-about = Tenis Rajec — tennis courts in Rajec for the public and members. Find our location, opening details and contact information.
|
||||
nav-calendar = Calendar
|
||||
nav-admin = Admin login
|
||||
admin-title = Admin
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
brand = Tenis Rajec
|
||||
meta-description = Rezervujte si tenisový kurt v Rajci online. Pozrite si voľné termíny jednotlivých kurtov a rezervujte si hodinu v týždennom kalendári.
|
||||
meta-description-about = Tenis Rajec — tenisové kurty v Rajci pre verejnosť aj členov. Nájdite našu polohu, informácie o otváracích hodinách a kontakt.
|
||||
nav-calendar = Kalendár
|
||||
nav-admin = Prihlásenie admina
|
||||
admin-title = Admin
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ t(key="about-title", lang=lang) }}{% endblock title %}
|
||||
{% block meta_description %}{{ t(key="meta-description-about", lang=lang) }}{% endblock meta_description %}
|
||||
|
||||
{% block content %}
|
||||
<div class="mx-auto max-w-2xl">
|
||||
|
||||
@@ -33,6 +33,18 @@
|
||||
});
|
||||
</script>
|
||||
<title>{% block title %}{{ t(key="brand", lang=lang) }}{% endblock title %}</title>
|
||||
<meta name="description"
|
||||
content="{% block meta_description %}{{ t(key='meta-description', lang=lang) }}{% endblock meta_description %}">
|
||||
<!-- Open Graph / Twitter — how the page previews when its link is shared
|
||||
(chat apps, social). Not scored by Lighthouse SEO, but cheap to have.
|
||||
og:url and og:image are left out: they need the absolute production
|
||||
domain, so wire them once the site has one. -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="{{ t(key='brand', lang=lang) }}">
|
||||
<meta property="og:title" content="{{ t(key='brand', lang=lang) }}">
|
||||
<meta property="og:description" content="{{ t(key='meta-description', lang=lang) }}">
|
||||
<meta property="og:locale" content="{% if lang == 'en' %}en_US{% else %}sk_SK{% endif %}">
|
||||
<meta name="twitter:card" content="summary">
|
||||
<link href="https://cdn.jsdelivr.net/npm/daisyui@4/dist/full.min.css" rel="stylesheet" type="text/css" />
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user