jekyll-theme-artisan 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/home.html +32 -34
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c4f467c08f7449464a37c5256fd7b404b9a47013455ab651100569996934f3c
|
4
|
+
data.tar.gz: 5817c49f6c1f6572c6bd3d57592c5e65ef16085ca5a9f9781ed75d8a4517533f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0e212c95969bf2f9630767e52af476ca4b81f058d4fd19e7c43b5870a389241a166d1072bbbc1528d73a7626e5d09a06cab48af1bafc7b0489e12a31078e179
|
7
|
+
data.tar.gz: 8aa4d8dfd0cb57f38debcab86d1db307b2c67acddd9c7a776bb0076ded5567737e60a3c55d32cdbe17a23bf71958d97eee075918518dbfc9a0d57feb5b03757e
|
data/_layouts/home.html
CHANGED
@@ -8,37 +8,35 @@ layout: default
|
|
8
8
|
|
9
9
|
{{ content }}
|
10
10
|
|
11
|
-
|
12
|
-
{%-
|
13
|
-
|
14
|
-
|
15
|
-
<
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
{
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
<
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
{%- endif -%}
|
44
|
-
</div>
|
11
|
+
{%- if site.posts.size > 0 -%}
|
12
|
+
{%- assign date_format = site.artisan.date_format | default: "%b %-d, %Y" -%}
|
13
|
+
{%- for post in site.posts -%}
|
14
|
+
<article class="artisan-article p-4">
|
15
|
+
<h6 class="text-muted">
|
16
|
+
on
|
17
|
+
<time datetime="{{ page.date | date_to_xmlschema }}">
|
18
|
+
{{ post.date | date: date_format }}
|
19
|
+
</time>
|
20
|
+
{%- if post.categories.size > 0 -%}
|
21
|
+
in
|
22
|
+
{%- for category in post.categories -%}
|
23
|
+
<a href="{{ "categories" | relative_url }}#{{ category | slugize }}" class="artisan-link">
|
24
|
+
{{ category | escape }}
|
25
|
+
</a>
|
26
|
+
{%- endfor -%}
|
27
|
+
{%- endif -%}
|
28
|
+
</h6>
|
29
|
+
<h3>{{ post.title | escape }}</h3>
|
30
|
+
<div class="text-muted text-justify">
|
31
|
+
{{ post.excerpt }}
|
32
|
+
</div>
|
33
|
+
<div class="text-left">
|
34
|
+
<a href="{{ post.url | relative_url }}"
|
35
|
+
class="btn btn-outline-primary">
|
36
|
+
<i class="fas fa-chevron-right mr-1"></i>
|
37
|
+
Read More
|
38
|
+
</a>
|
39
|
+
</div>
|
40
|
+
</article>
|
41
|
+
{%- endfor -%}
|
42
|
+
{%- endif -%}
|