Skip to content

Commit aa52487

Browse files
authored
fix: meta description & text optimizations (#194)
## Description - removed metaDescription-logic - optimized descriptions of country- & operator-page ## Checklist <!-- Check fields with: [x] / Abhaken von Punkten: [x] --> - [ ] Check the License of new pictures (non-commercial use without attribution) <!-- Die Lizenz neuer Bilder geprüft (nicht-kommerzielle Nutzung ohne Namensnennung) --> The content was modified in the following languages: <!-- Der Inhalt wurde für die folgenden Sprachen angepasst --> - [x] English - [x] German
1 parent cff2da1 commit aa52487

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed

content/country/_index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Länder"
33
description: "Überblick über die Länder, in denen FIP-Vergünstigungen genutzt werden können."
44
---
55

6-
Momemtan sind noch nicht für alle Länder und Betreiber Informationen verfügbar. Den aktuellen Bearbeitungsstand findest du auf [GitHub](https://github.com/orgs/fipguide/projects/3).
6+
Für einige Länder sind bereits Informationen verfügbar und kontinuierlich kommen weitere Länder hinzu. Den aktuellen Bearbeitungsstand findest du auf [GitHub](https://github.com/orgs/fipguide/projects/3).

content/country/_index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Countries"
33
description: "Overview of the countries where FIP benefits are available."
44
---
55

6-
Currently, information is not yet available for all countries and operators. You can see the current information status on [GitHub](https://github.com/orgs/fipguide/projects/3).
6+
Information is available for several countries, and more countries are continually being added. You can see the current information status on [GitHub](https://github.com/orgs/fipguide/projects/3).

content/operator/_index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Betreiber mit FIP"
33
description: "Überblick über die Betreiber, die FIP-Vergünstigungen anbieten."
44
---
55

6-
Momemtan sind noch nicht für alle Länder und Betreiber Informationen verfügbar. Den aktuellen Bearbeitungsstand findest du auf [GitHub](https://github.com/orgs/fipguide/projects/3).
6+
Für einige Betreiber sind bereits Informationen verfügbar und kontinuierlich kommen weitere Betreiber hinzu. Den aktuellen Bearbeitungsstand findest du auf [GitHub](https://github.com/orgs/fipguide/projects/3).

content/operator/_index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Operators supporting FIP"
33
description: "Overview of the operators providing FIP benefits."
44
---
55

6-
Currently, information is not yet available for all countries and operators. You can see the current information status on [GitHub](https://github.com/orgs/fipguide/projects/3).
6+
Information is available for several operators, and more operators are continually being added. You can see the current information status on [GitHub](https://github.com/orgs/fipguide/projects/3).

layouts/partials/headMeta.html

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1-
{{ $metaDescription := "" }} <!-- Initialisierung der Variable -->
2-
{{ if eq .Page.Type "country" }}
3-
{{ $metaDescription = T "meta-description.country" }}
4-
{{ else if eq .Page.Type "news" }}
5-
{{ $metaDescription = T "meta-description.news" }}
6-
{{ else if eq .Page.Type "news" }}
7-
{{ $metaDescription = T "meta-description.news" }}
8-
{{ else }}
9-
{{ $metaDescription = .Description }}
10-
{{ end }}
11-
12-
<meta charset="utf-8" xmlns:og="http://www.w3.org/1999/xhtml" />
13-
<meta name="description" content="{{ $metaDescription }}" />
1+
<meta charset="utf-8" />
2+
<meta name="description" content="{{ .Description }}" />
143
<meta name="dc.relation" content="{{ .Site.BaseURL }}" />
154
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
165
<meta name="theme-color" content="#BA3D12" />
176
<meta property="og:url" content='{{ .Permalink }}'>
187
<meta property="og:site_name" content='{{ site.Title }}'>
198
<meta property="og:title" content='{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}'>
20-
<meta property="og:description" content="{{ $metaDescription }}" />
9+
<meta property="og:description" content="{{ .Description }}" />
2110
<meta property="og:type" content='{{ if .IsPage }}article{{ else }}website{{ end }}'>
2211
<meta property="og:image" content="{{ .Site.BaseURL }}og-image.jpg">
2312
<meta property="og:image:type" content="image/jpg">

0 commit comments

Comments
 (0)