fix publish date
This commit is contained in:
parent
200f7876fd
commit
8df0dae523
2 changed files with 3 additions and 3 deletions
|
@ -16,6 +16,7 @@
|
||||||
{% if page.type == "post" %}
|
{% if page.type == "post" %}
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="article:author" content="{{ site.author }}" />
|
<meta property="article:author" content="{{ site.author }}" />
|
||||||
|
<meta property="article:published_time" content="{{page.date}}" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
{% endif %} {% if page.layout == 'home' %}
|
{% endif %} {% if page.layout == 'home' %}
|
||||||
|
@ -37,8 +38,7 @@
|
||||||
|
|
||||||
<meta property="og:site_name" content="{{site.title}}" />
|
<meta property="og:site_name" content="{{site.title}}" />
|
||||||
|
|
||||||
<!--meta property="article:published_time" content="2013-09-17T05:59:00+01:00" />
|
<!--meta property="article:modified_time" content="2013-09-16T19:08:47+01:00" />
|
||||||
<meta property="article:modified_time" content="2013-09-16T19:08:47+01:00" />
|
|
||||||
<meta property="article:section" content="Article Section" />
|
<meta property="article:section" content="Article Section" />
|
||||||
<meta property="article:tag" content="Article Tag" /-->
|
<meta property="article:tag" content="Article Tag" /-->
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ layout: default
|
||||||
</div>
|
</div>
|
||||||
<div class="blog-post__header__meta">
|
<div class="blog-post__header__meta">
|
||||||
<time
|
<time
|
||||||
datetime="{{ page.date }}"
|
datetime="{{ page.date | date: "%Y-%m-%d" }}"
|
||||||
itemprop="datePublished"
|
itemprop="datePublished"
|
||||||
>
|
>
|
||||||
By
|
By
|
||||||
|
|
Loading…
Reference in a new issue