<!-- Facebook OpenGraph -->
<meta property="og:site_name" content="IPFire Blog" />
- <meta property="og:title" content="{{ post.title }} - The IPFire Blog" />
- <meta property="og:description" content="{{ post.excerpt }}" />
- <meta property="og:url" content="{{ request.full_url() }}" />
+ <meta property="og:title" content="{{ post.title }} - The IPFire Blog" />
+ <meta property="og:description" content="{{ post.excerpt }}" />
+ <meta property="og:url" content="{{ request.full_url() }}" />
<meta property="og:image" content="{{ static_url("img/ipfire-tux.png") }}" />
<meta property="og:type" content="article" />
{% if post.published_at %}
- <meta property="og:article:published_time" content="{{ post.published_at.isoformat() }}" />
+ <meta property="og:article:published_time" content="{{ post.published_at.isoformat() }}" />
{% end %}
- <meta property="og:article:modified_time" content="{{ post.updated_at.isoformat() }}" />
+ <meta property="og:article:modified_time" content="{{ post.updated_at.isoformat() }}" />
{% if isinstance(post.author, accounts.Account) %}
- <meta property="og:article:author:first_name" content="{{ post.author.first_name }}" />
- <meta property="og:article:author:last_name" content="{{ post.author.last_name }}" />
- <meta property="og:article:author:username" content="{{ post.author.uid }}" />
+ <meta property="og:article:author:first_name" content="{{ post.author.first_name }}" />
+ <meta property="og:article:author:last_name" content="{{ post.author.last_name }}" />
+ <meta property="og:article:author:username" content="{{ post.author.uid }}" />
{% end %}
{% for tag in post.tags %}
- <meta property="og:article:tag" content="{{ tag }}" />
+ <meta property="og:article:tag" content="{{ tag }}" />
{% end %}
<!-- Twitter -->
<meta property="twitter:site" content="@ipfire" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="{{ post.title }} - The IPFire Blog" />
- <meta property="twitter:description" content="{{ post.excerpt }}" />
+ <meta property="twitter:description" content="{{ post.excerpt }}" />
<meta property="twitter:image" content="{{ static_url("img/ipfire-tux.png") }}" />
{% end block %}