-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle.html
32 lines (29 loc) · 1 KB
/
article.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "base.html" %}
{% block title %}{{ article.title|striptags }}{% endblock %}
{% block description %}{% if article.description %}
<meta name="description" content="{{ article.description|striptags }}" />
{% else %}
<meta name="description" content="{{ article.summary|striptags }}" />
{% endif %}
{% endblock %}
{% block OPEN_GRAPH_INFO %}
<!-- OpenGraph Info -->
{% for tag in article.ogtags %}
<meta property="{{tag[0]}}" content="{{tag[1]|striptags|e}}" />
{% endfor %}
{% endblock OPEN_GRAPH_INFO %}
{% block content %}
<article
class="hentry h-entry post main-content"
itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<meta itemprop="mainEntityOfPage" content="{{ article.url }}">
{% include "includes/article_header.html" %}
<div class="arcticle-body e-content" itemprop="articleBody">
{{ article.content }}
</div>
{% include "includes/article_footer.html" %}
{% if DISQUS_SITENAME %}
{% include "includes/disqus.html" %}
{% endif %}
</article>
{% endblock content%}