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" %}
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="article:author" content="{{ site.author }}" />
|
||||
<meta property="article:published_time" content="{{page.date}}" />
|
||||
{% else %}
|
||||
<meta property="og:type" content="website" />
|
||||
{% endif %} {% if page.layout == 'home' %}
|
||||
|
@ -37,8 +38,7 @@
|
|||
|
||||
<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:tag" content="Article Tag" /-->
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ layout: default
|
|||
</div>
|
||||
<div class="blog-post__header__meta">
|
||||
<time
|
||||
datetime="{{ page.date }}"
|
||||
datetime="{{ page.date | date: "%Y-%m-%d" }}"
|
||||
itemprop="datePublished"
|
||||
>
|
||||
By
|
||||
|
|
Loading…
Reference in a new issue