1
1
{% extends "index.html" %}
2
2
3
3
{% block seo %}
4
- < title > {{ page.title }} | {{ config.title | default(value="Minima") }}</ title >
4
+ < title > {{ page.title }} | {{ config.title | default(value="Minima") }}</ title >
5
5
6
- < meta property ="og:title " content ="{{ page.title }} ">
7
- < meta property ="og:url " content ="{{ page.permalink }} ">
8
- < meta property ="og:description " content ="{{ page.summary | default(value=page.content | safe | striptags | trim | truncate(length=100)) }} ">
9
- < meta property ="og:type " content ="article ">
10
- < link rel ="canonical " href ="{{ page.permalink }} ">
6
+ < meta property ="og:title " content ="{{ page.title }} ">
7
+ < meta property ="og:url " content ="{{ page.permalink }} ">
8
+ < meta property ="og:description "
9
+ content ="{{ page.summary | default(value=page.content | safe | striptags | trim | truncate(length=100)) }} ">
10
+ < meta property ="og:type " content ="article ">
11
+ < link rel ="canonical " href ="{{ page.permalink }} ">
11
12
12
- {% if page.date %}
13
- < meta property ="article:published_time " content ="{{ page.date | date(format='%+') }} ">
14
- {% endif %}
13
+ {% if page.date %}
14
+ < meta property ="article:published_time " content ="{{ page.date | date(format='%+') }} ">
15
+ {% endif %}
15
16
{% endblock seo %}
16
17
17
18
{% block content %}
18
- < article class ="post h-entry wrapper " itemscope itemtype ="http://schema.org/BlogPosting ">
19
- < header class ="post-header ">
20
- < h1 class ="post-title p-name " itemprop ="name headline "> {{ page.title }}</ h1 >
21
- < p class ="post-meta ">
22
- {% if page.date %}
23
- < time class ="dt-published " datetime ="{{ page.date | date(format='%+') }} " itemprop ="datePublished ">
24
- {% set date_format = config.extra.date_format | default(value="%b %-d, %Y") %}
25
- {{ page.date | date(format=date_format) }}
26
- </ time >
27
- {% endif %}
28
- {% if page.author %}
29
- • < span itemprop ="author " itemscope itemtype ="http://schema.org/Person "> < span class ="p-author h-card " itemprop ="name "> {{ page.author }}</ span > </ span >
30
- {% endif %}
31
- </ p >
32
- </ header >
19
+ < article class ="post h-entry wrapper " itemscope itemtype ="http://schema.org/BlogPosting ">
20
+ < header class ="post-header ">
21
+ < h1 class ="post-title p-name " itemprop ="name headline "> {{ page.title }}</ h1 >
22
+ < p class ="post-meta ">
23
+ {% if page.date %}
24
+ < time class ="dt-published " datetime ="{{ page.date | date(format='%+') }} " itemprop ="datePublished ">
25
+ {% set date_format = config.extra.date_format | default(value="%b %-d, %Y") %}
26
+ {{ page.date | date(format=date_format) }}
27
+ </ time >
28
+ {% endif %}
29
+ {% if page.author %}
30
+ • < span itemprop ="author " itemscope itemtype ="http://schema.org/Person "> < span class ="p-author h-card "
31
+ itemprop ="name "> {{ page.author }}</ span > </ span >
32
+ {% endif %}
33
+ </ p >
34
+ </ header >
33
35
34
- < div class ="post-content e-content " itemprop ="articleBody ">
35
- {{ page.content | safe }}
36
- </ div >
36
+ < div class ="post-content e-content " itemprop ="articleBody ">
37
+ {{ page.content | safe }}
38
+ </ div >
37
39
38
- {% if site.disqus.shortname %}
39
- {% include "includes/disqus_comments.html" %}
40
- {% endif %}
40
+ {% if site.disqus.shortname %}
41
+ {% include "includes/disqus_comments.html" %}
42
+ {% endif %}
41
43
42
- < a class ="u-url " href ="{{ page.permalink }} " hidden > </ a >
43
- </ article >
44
- {% endblock content %}
44
+ < a class ="u-url " href ="{{ page.permalink }} " hidden > </ a >
45
+ </ article >
46
+ {% endblock content %}
0 commit comments