sutty-minima 2.7.0rc9 → 2.7.0rc10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/post.html +74 -0
- data/_layouts/page.html +1 -74
- data/_layouts/post.html +1 -74
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7381c84a3fdc605a11b9d79fe0786f541d610ec94ba68595b2baed1464d0978d
|
4
|
+
data.tar.gz: a3fa678cc7f22d440e326a1c7622adc4b0d2bde07b6ad8e37021c507085113a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6338b40ed88cb1339839fcf1fad1d766ea7356e80d58188fd058b0f04d012b577c20fe51595a6c87fa5e6ad853ff44e34e09b039677aa0b7237cd840c4c8cd6
|
7
|
+
data.tar.gz: 7df4b23b450a40c46eef0b9830e96a55e7c609d067a366cb4fb3dd597b5939337522aaab2c551d69f7799612ebaa8a93208bc8f3bde7f5308af22ab77f6c4df2
|
data/_includes/post.html
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
{% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
|
2
|
+
{% assign license = site.posts | find: "layout", "license" %}
|
3
|
+
|
4
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
|
9
|
+
{% if page.description %}
|
10
|
+
<div class="p-summary" itemprop="description">
|
11
|
+
{{ page.description | allow_inclusive_language_in_markdown | markdownify }}
|
12
|
+
</div>
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<p class="post-meta">
|
16
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
17
|
+
{{ page.date | date: date_format }}
|
18
|
+
</time>
|
19
|
+
{%- if page.last_modified_at -%}
|
20
|
+
~
|
21
|
+
<time class="dt-modified" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">
|
22
|
+
{{ page.last_modified_at | date: date_format }}
|
23
|
+
</time>
|
24
|
+
{%- endif -%}
|
25
|
+
{%- unless page.author == empty -%}
|
26
|
+
• {% for author in page.author %}
|
27
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
28
|
+
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
29
|
+
{%- if forloop.last == false %}, {% endif -%}
|
30
|
+
{% endfor %}
|
31
|
+
{%- endunless -%}</p>
|
32
|
+
|
33
|
+
{%- if page.image.path -%}
|
34
|
+
<img itemprop="image" src="{{ page.image.path }}" alt="{{ page.image.description | default: page.title }}" />
|
35
|
+
{%- endif -%}
|
36
|
+
</header>
|
37
|
+
|
38
|
+
{% if page.content_warning %}
|
39
|
+
<details>
|
40
|
+
<summary>
|
41
|
+
{{ site.i18n.cw }}
|
42
|
+
{{ page.content_warning }}
|
43
|
+
</summary>
|
44
|
+
|
45
|
+
<div class="post-content e-content" itemprop="articleBody">
|
46
|
+
{{ content }}
|
47
|
+
</div>
|
48
|
+
</details>
|
49
|
+
{% else %}
|
50
|
+
<div class="post-content e-content" itemprop="articleBody">
|
51
|
+
{{ content }}
|
52
|
+
</div>
|
53
|
+
{% endif %}
|
54
|
+
|
55
|
+
<footer>
|
56
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
57
|
+
{{ site.url }}{{ page.url }}
|
58
|
+
</a>
|
59
|
+
|
60
|
+
{%- if page.uuid -%}
|
61
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
62
|
+
{%- endif -%}
|
63
|
+
|
64
|
+
{%- if license -%}
|
65
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
66
|
+
<a rel="license" itemprop="url" href="{{ license.url }}">
|
67
|
+
<span itemprop="articleBody">
|
68
|
+
{{ license.description }}
|
69
|
+
</span>
|
70
|
+
</a>
|
71
|
+
</p>
|
72
|
+
{%- endif -%}
|
73
|
+
</footer>
|
74
|
+
</article>
|
data/_layouts/page.html
CHANGED
@@ -2,77 +2,4 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
{
|
6
|
-
{% assign license = site.posts | find: "layout", "license" %}
|
7
|
-
|
8
|
-
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
9
|
-
|
10
|
-
<header class="post-header">
|
11
|
-
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
12
|
-
|
13
|
-
{% if page.description %}
|
14
|
-
<div class="p-summary" itemprop="description">
|
15
|
-
{{ page.description | allow_inclusive_language_in_markdown | markdownify }}
|
16
|
-
</div>
|
17
|
-
{% endif %}
|
18
|
-
|
19
|
-
<p class="post-meta">
|
20
|
-
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
21
|
-
{{ page.date | date: date_format }}
|
22
|
-
</time>
|
23
|
-
{%- if page.last_modified_at -%}
|
24
|
-
~
|
25
|
-
<time class="dt-modified" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">
|
26
|
-
{{ page.last_modified_at | date: date_format }}
|
27
|
-
</time>
|
28
|
-
{%- endif -%}
|
29
|
-
{%- unless page.author == empty -%}
|
30
|
-
• {% for author in page.author %}
|
31
|
-
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
32
|
-
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
33
|
-
{%- if forloop.last == false %}, {% endif -%}
|
34
|
-
{% endfor %}
|
35
|
-
{%- endunless -%}</p>
|
36
|
-
|
37
|
-
{%- if page.image.path -%}
|
38
|
-
<img itemprop="image" src="{{ page.image.path }}" alt="{{ page.image.description | default: page.title }}" />
|
39
|
-
{%- endif -%}
|
40
|
-
</header>
|
41
|
-
|
42
|
-
{% if page.content_warning == empty %}
|
43
|
-
<details>
|
44
|
-
<summary>
|
45
|
-
{{ site.i18n.cw }}
|
46
|
-
{{ page.content_warning }}
|
47
|
-
</summary>
|
48
|
-
|
49
|
-
<div class="post-content e-content" itemprop="articleBody">
|
50
|
-
{{ content }}
|
51
|
-
</div>
|
52
|
-
</details>
|
53
|
-
{% else %}
|
54
|
-
<div class="post-content e-content" itemprop="articleBody">
|
55
|
-
{{ content }}
|
56
|
-
</div>
|
57
|
-
{% endif %}
|
58
|
-
|
59
|
-
<footer>
|
60
|
-
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
61
|
-
{{ site.url }}{{ page.url }}
|
62
|
-
</a>
|
63
|
-
|
64
|
-
{%- if page.uuid -%}
|
65
|
-
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
66
|
-
{%- endif -%}
|
67
|
-
|
68
|
-
{%- if license -%}
|
69
|
-
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
70
|
-
<a rel="license" itemprop="url" href="{{ license.url }}">
|
71
|
-
<span itemprop="articleBody">
|
72
|
-
{{ license.description }}
|
73
|
-
</span>
|
74
|
-
</a>
|
75
|
-
</p>
|
76
|
-
{%- endif -%}
|
77
|
-
</footer>
|
78
|
-
</article>
|
5
|
+
{%- include post.html page=page %}
|
data/_layouts/post.html
CHANGED
@@ -2,77 +2,4 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
{
|
6
|
-
{% assign license = site.posts | find: "layout", "license" %}
|
7
|
-
|
8
|
-
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
9
|
-
|
10
|
-
<header class="post-header">
|
11
|
-
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
12
|
-
|
13
|
-
{% if page.description %}
|
14
|
-
<div class="p-summary" itemprop="description">
|
15
|
-
{{ page.description | allow_inclusive_language_in_markdown | markdownify }}
|
16
|
-
</div>
|
17
|
-
{% endif %}
|
18
|
-
|
19
|
-
<p class="post-meta">
|
20
|
-
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
21
|
-
{{ page.date | date: date_format }}
|
22
|
-
</time>
|
23
|
-
{%- if page.last_modified_at -%}
|
24
|
-
~
|
25
|
-
<time class="dt-modified" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">
|
26
|
-
{{ page.last_modified_at | date: date_format }}
|
27
|
-
</time>
|
28
|
-
{%- endif -%}
|
29
|
-
{%- unless page.author == empty -%}
|
30
|
-
• {% for author in page.author %}
|
31
|
-
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
32
|
-
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
33
|
-
{%- if forloop.last == false %}, {% endif -%}
|
34
|
-
{% endfor %}
|
35
|
-
{%- endunless -%}</p>
|
36
|
-
|
37
|
-
{%- if page.image.path -%}
|
38
|
-
<img itemprop="image" src="{{ page.image.path }}" alt="{{ page.image.description | default: page.title }}" />
|
39
|
-
{%- endif -%}
|
40
|
-
</header>
|
41
|
-
|
42
|
-
{% if page.content_warning == empty %}
|
43
|
-
<div class="post-content e-content" itemprop="articleBody">
|
44
|
-
{{ content }}
|
45
|
-
</div>
|
46
|
-
{% else %}
|
47
|
-
<details>
|
48
|
-
<summary>
|
49
|
-
{{ site.i18n.cw }}
|
50
|
-
{{ page.content_warning }}
|
51
|
-
</summary>
|
52
|
-
|
53
|
-
<div class="post-content e-content" itemprop="articleBody">
|
54
|
-
{{ content }}
|
55
|
-
</div>
|
56
|
-
</details>
|
57
|
-
{% endif %}
|
58
|
-
|
59
|
-
<footer>
|
60
|
-
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
61
|
-
{{ site.url }}{{ page.url }}
|
62
|
-
</a>
|
63
|
-
|
64
|
-
{%- if page.uuid -%}
|
65
|
-
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
66
|
-
{%- endif -%}
|
67
|
-
|
68
|
-
{%- if license -%}
|
69
|
-
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
70
|
-
<a rel="license" itemprop="url" href="{{ license.url }}">
|
71
|
-
<span itemprop="articleBody">
|
72
|
-
{{ license.description }}
|
73
|
-
</span>
|
74
|
-
</a>
|
75
|
-
</p>
|
76
|
-
{%- endif -%}
|
77
|
-
</footer>
|
78
|
-
</article>
|
5
|
+
{%- include post.html page=page %}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sutty-minima
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.0rc10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- _includes/google-analytics.html
|
141
141
|
- _includes/head.html
|
142
142
|
- _includes/header.html
|
143
|
+
- _includes/post.html
|
143
144
|
- _includes/social.html
|
144
145
|
- _layouts/code_of_conduct.html
|
145
146
|
- _layouts/default.html
|