]> git.ipfire.org Git - people/ric9/ipfire.org.git/commitdiff
location: add ogp metadata to all pages
authorRico Hoppe <rico.hoppe@ipfire.org>
Fri, 10 May 2024 19:32:26 +0000 (19:32 +0000)
committerRico Hoppe <rico.hoppe@ipfire.org>
Fri, 10 May 2024 19:32:26 +0000 (19:32 +0000)
* download, how-to-use, index, lookup

Signed-off-by: Rico Hoppe <rico.hoppe@ipfire.org>
src/templates/location/download.html
src/templates/location/how-to-use.html
src/templates/location/index.html
src/templates/location/lookup.html

index f826d25add5071303a1a414fb921e31fde2c7946..3cfadac189324ff398ccfb117168c844c22251d9 100644 (file)
@@ -2,6 +2,25 @@
 
 {% block title %}{{ _("Download") }}{% end block %}
 
+{% block head %}
+    <!-- HTML Meta Tags -->
+    <meta name="description" content={{ _("IPFire - Install IPFire Location") }}>
+    <!-- Facebook Meta Tags -->
+    <meta property="og:url" content="https://www.ipfire.org/location/install">
+    <meta property="og:type" content="website">
+    <meta property="og:title" content="{{ page.title }} - IPFire">
+    <meta property="og:description" content={{ _("IPFire Location supports a variety of distributions. Select your favorite one, install the packages and be ready to use IPFire Location in seconds.") }}>
+    <meta property="og:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+
+    <!-- Twitter Meta Tags -->
+    <meta name="twitter:card" content="summary_large_image">
+    <meta property="twitter:domain" content="ipfire.org">
+    <meta property="twitter:url" content="https://www.ipfire.org/location/install">
+    <meta name="twitter:title" content="www.ipfire.org - {{ page.title }}">
+    <meta name="twitter:description" content={{ _("IPFire Location supports a variety of distributions. Select your favorite one, install the packages and be ready to use IPFire Location in seconds.") }}>
+    <meta name="twitter:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+{% end block %}
+
 {% block container %}
        <section class="hero is-primary">
                <div class="hero-body">
index ddc75beeb9791338ccc20dbfc64a47435694c340..569cc123241c6b3e39a48d7955f7a9157de77988 100644 (file)
@@ -2,6 +2,25 @@
 
 {% block title %}{{ _("How To Use") }}{% end block %}
 
+{% block head %}
+    <!-- HTML Meta Tags -->
+    <meta name="description" content={{ _("IPFire - Location How To Use") }}>
+    <!-- Facebook Meta Tags -->
+    <meta property="og:url" content="https://www.ipfire.org/location/how-to-use">
+    <meta property="og:type" content="website">
+    <meta property="og:title" content="{{ page.title }} - IPFire">
+    <meta property="og:description" content={{ _("IPFire Location offers versatile usage options tailored to diverse needs and preferences as there are so many possible applications. Below is a list with all available options to choose which is is best suited for your individual organization.") }}>
+    <meta property="og:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+
+    <!-- Twitter Meta Tags -->
+    <meta name="twitter:card" content="summary_large_image">
+    <meta property="twitter:domain" content="ipfire.org">
+    <meta property="twitter:url" content="https://www.ipfire.org/location/how-to-use">
+    <meta name="twitter:title" content="www.ipfire.org - {{ page.title }}">
+    <meta name="twitter:description" content={{ _("IPFire Location offers versatile usage options tailored to diverse needs and preferences as there are so many possible applications. Below is a list with all available options to choose which is is best suited for your individual organization.") }}>
+    <meta name="twitter:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+{% end block %}
+
 {% block container %}
        <section class="hero is-primary">
                <div class="hero-body">
index 6b62671f8d6773e7a244d081dfe60c6d6add0dc6..9416a29587f96fc939a8d888a904edd2af02601c 100644 (file)
@@ -1,7 +1,22 @@
 {% extends "../base.html" %}
 
 {% block head %}
-       <meta name="description" content="{{ _("A powerful location database to find people on the Internet") }}" />
+    <!-- HTML Meta Tags -->
+    <meta name="description" content="{{ _("IPFire Location") }}">
+    <!-- Facebook Meta Tags -->
+    <meta property="og:url" content="https://www.ipfire.org/location">
+    <meta property="og:type" content="website">
+    <meta property="og:title" content="{{ page.title }} - IPFire">
+    <meta property="og:description" content={{ _("A powerful location database to find people on the Internet") }}>
+    <meta property="og:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+
+    <!-- Twitter Meta Tags -->
+    <meta name="twitter:card" content="summary_large_image">
+    <meta property="twitter:domain" content="ipfire.org">
+    <meta property="twitter:url" content="https://www.ipfire.org/location">
+    <meta name="twitter:title" content="www.ipfire.org - {{ page.title }}">
+    <meta name="twitter:description" content={{ _("A powerful location database to find people on the Internet") }}>
+    <meta name="twitter:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
 {% end block %}
 
 {% block title %}{{ _("Welcome to IPFire Location") }}{% end block %}
index 27d64b9463f6703f9c233ac3a6e4973b3ac3fed2..e75fd7a7a6467c24f84430b7ee11804c0e988c01 100644 (file)
@@ -2,6 +2,25 @@
 
 {% block title %}{{ _("Location of %s") % address }}{% end block %}
 
+{% block head %}
+    <!-- HTML Meta Tags -->
+    <meta name="description" content="{{ _("IPFire - Location of %s") % address }}">
+    <!-- Facebook Meta Tags -->
+    <meta property="og:url" content="https://www.ipfire.org/location/lookup/{{ address }}">
+    <meta property="og:type" content="website">
+    <meta property="og:title" content="{{ page.title }} - IPFire">
+    <meta property="og:description" content={{ _("Location Data of %s") % address }}>
+    <meta property="og:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+
+    <!-- Twitter Meta Tags -->
+    <meta name="twitter:card" content="summary_large_image">
+    <meta property="twitter:domain" content="ipfire.org">
+    <meta property="twitter:url" content="https://www.ipfire.org/location/lookup/{{ address }}">
+    <meta name="twitter:title" content="www.ipfire.org - {{ page.title }}">
+    <meta name="twitter:description" content={{ _("Location Data of %s") % address }}>
+    <meta name="twitter:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+{% end block %}
+
 {% block container %}
        <section class="hero is-primary">
                <div class="hero-body">