{% block title %}{{ _("Welcome!") }}{% end block %}
{% block head %}
- <!-- 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="Blog - 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 - Blog">
- <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") }}">
+ {% module OpenGraph(
+ title=_("IPFire Blog"),
+ description="The IPFire Blog has the latest news from the IPFire Project about Development, Current Affairs, and many more interesting things.",
+ ) %}
<!-- Feed URL -->
<link rel="alternate" type="application/atom+xml" title="RSS" href="/blog/feed.xml" />
{% block head %}
{% if post %}
- <!-- HTML Meta Tags -->
- <meta name="description" content={{ _("IPFire Blog - Edit %s") % post.title }}>
- <!-- Facebook Meta Tags -->
- <meta property="og:url" content="https://www.ipfire.org/blog/{{post.slug }}/edit">
- <meta property="og:type" content="website">
- <meta property="og:title" content="{{ post.title }} - IPFire">
- <meta property="og:description" content="Edit unpublished Blog Post {{ post.title }}">
- <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/{{post.slug }}/edit">
- <meta name="twitter:title" content="www.ipfire.org - {{ post.title }}">
- <meta name="twitter:description" content="Edit unpublished Blog Post {{ post.title }}">
- <meta name="twitter:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+ {% module OpenGraph(
+ title={{ _("IPFire Blog - Edit %s") % post.title }},
+ description="Edit unpublished Blog Post {{ post.title }}",
+ ) %}
{% else %}
- <!-- HTML Meta Tags -->
- <meta name="description" content={{ _("IPFire Blog - Write A New Post") }}>
- <!-- Facebook Meta Tags -->
- <meta property="og:url" content="https://www.ipfire.org/blog/write">
- <meta property="og:type" content="website">
- <meta property="og:title" content="Write A New Blog Post - IPFire">
- <meta property="og:description" content="Write A New Post for the IPFire Blog">
- <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/write">
- <meta name="twitter:title" content="www.ipfire.org - Write A New Blog Post">
- <meta name="twitter:description" content="Write A New Post for the IPFire Blog">
- <meta name="twitter:image" content="https://www.ipfire.org/{{ static_url("img/ipfire-tux.png") }}">
+ {% module OpenGraph(
+ title={{ _("IPFire Blog - Write A New Post") }},
+ description="Write A New Post for the IPFire Blog",
+ ) %}
{% end %}
{% end block %}