车亮亮 9 years ago
parent 56f64d5fd3
commit b90c902e37

@ -4,6 +4,7 @@
<title>{{ article.title }} | {{ SITE_DESCRIPTION }}</title>
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ article.title }}"/>
<meta property="og:description" content="{{ article.body|truncatewords:100 }}"/>
<meta property="og:url"
content="{{ article.get_full_url }}"/>
<meta property="article:published_time" content="{% datetimeformat article.pub_time %}"/>

@ -1,10 +1,9 @@
{% load blog_tags %}
<article id="post-{{ article.pk }} "
class="post-3815 post type-post status-publish format-standard hentry"
itemscope itemtype="http://schema.org/Article">
class="post-3815 post type-post status-publish format-standard hentry">
<header class="entry-header">
<h1 class="entry-title" itemprop="name">
<h1 class="entry-title">
{% if isindex %}
<a href="{{ article.get_absolute_url }}"
rel="bookmark">{{ article.title }}</a>

@ -4,7 +4,7 @@
itemprop="datePublished" content="{% datetimeformat article.created_time %}"
rel="bookmark">
<time class="entry-date"
<time class="entry-date updated"
datetime="{{ article.created_time }}">
{% datetimeformat article.created_time %}</time>
</a>

Loading…
Cancel
Save