opengraph
This commit is contained in:
parent
bd89d906b9
commit
72a33c046c
|
|
@ -32,4 +32,12 @@
|
|||
{% if post.featured_image %}
|
||||
<meta property="og:image" content="{{post.featured_image|media_cdn}}">
|
||||
{% endif %}
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:published_time" content="{{post.published_at|date('Y-m-d')}}">
|
||||
<meta property="article:modified_time" content="{{post.updated_at|date('Y-m-d')}}">
|
||||
<meta property="article:author" content="{{post.author}}">
|
||||
<meta property="article:section" content="{{post.categories.first.name}}">
|
||||
{% for post.tags as tag %}
|
||||
<meta property="article:tag" content="{{tag}}">
|
||||
{% endfor %}
|
||||
{% endput %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue