]> git.ipfire.org Git - ipfire.org.git/commitdiff
blog/index: add ogp metadata
authorRico Hoppe <rico.hoppe@ipfire.org>
Thu, 4 Apr 2024 16:51:21 +0000 (16:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Jun 2024 14:04:05 +0000 (14:04 +0000)
Signed-off-by: Rico Hoppe <rico.hoppe@ipfire.org>
src/templates/blog/index.html

index 20e5efb9eec131533e9e95968f4a8b6a1cb87f80..8cfa3e5f32d43fa24c75a8c6eafe607c82c08f67 100644 (file)
@@ -3,7 +3,23 @@
 {% block title %}{{ _("Welcome!") }}{% end block %}
 
 {% block head %}
-       <meta name="description" content="{{ _("The IPFire Blog has the latest news from the IPFire Project about Development, Current Affairs, and many more interesting things.") }}" />
+       <!-- HTML Meta Tags -->
+       <meta name="description" content="IPFire Blog">
+
+       <!-- Facebook Meta Tags -->
+       <meta property="og:url" content="https://www.ipfire.org/blog">
+       <meta property="og:type" content="website">
+       <meta property="og:title" content="{{ page.title }} - IPFire">
+       <meta property="og:description" content="{{ _("The IPFire Blog has the latest news from the IPFire Project about Development, Current Affairs, and many more interesting things.") }}">
+       <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/blog">
+       <meta name="twitter:title" content="www.ipfire.org - {{ page.title }}">
+       <meta name="twitter:description" content="{{ _("The IPFire Blog has the latest news from the IPFire Project about Development, Current Affairs, and many more interesting things.") }}">
+       <meta name="twitter:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
 
        <!-- Feed URL -->
        <link rel="alternate" type="application/atom+xml" title="RSS" href="/blog/feed.xml" />