minimalist-theme 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/categories.html +18 -0
- data/_layouts/index.html +21 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcfcff07f891596cf1109f9e1afbb09f995232b4444ae610f9be5423b47d0d0c
|
4
|
+
data.tar.gz: fad84d467f65f397b41dd40a77c8745bab20321c8e58efcb0c974203502456c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bdba66421adb1ab5c4de53b044fcd5a66a6b289a9b8799253bde5bf970c3b5e53a8a8bb933fd4ca3cbc597beffdff19fcb120014c94946a77aed3aa28323c09
|
7
|
+
data.tar.gz: efe4ebcb85733af7d1dd52acf7f4d6c613ef90cb428cb752bff1c5add4ec9772227a9e96730c173f34022181a0d012a328a3ae16c7f1c3a68f87bce8a80e267c
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
title: categories
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="wrap-about mw7 center chivo">
|
6
|
+
<div class="pt0 categories">
|
7
|
+
{% for category in site.categories %}
|
8
|
+
<h2 class="fw1 ph3 ph0-l">{{ category[0]| capitalize }}</h2>
|
9
|
+
<ul class="list pl0 measure center">
|
10
|
+
{% for post in category[1] %}
|
11
|
+
<li class="lh-copy pv3 ba bl-0 bt-0 br-0 b--dotted b--black-30">
|
12
|
+
<a class="f4 db black link hover-blue" href="{{ post.url }}">{{ post.title }}</a>
|
13
|
+
</li>
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
16
|
+
{% endfor %}
|
17
|
+
</div>
|
18
|
+
</div>
|
data/_layouts/index.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
title: Blog
|
3
|
+
---
|
4
|
+
<section class="mw7 center chivo">
|
5
|
+
<h2 class="fw1 ph3 ph0-l">Nouvelles</h2>
|
6
|
+
{% for post in site.posts %}
|
7
|
+
<article class="bt bb b--black-10">
|
8
|
+
<a class="db pv4 ph3 ph0-l no-underline black dim" href="{{ post.url }}">
|
9
|
+
<div class="flex flex-column flex-row-ns">
|
10
|
+
<div class="w-100 pl3-ns">
|
11
|
+
<h1 class="f3 fw1 mt0 lh-title">{{ post.title }}</h1>
|
12
|
+
<p class="f6 f5-l lh-copy">
|
13
|
+
{{ post.excerpt }}
|
14
|
+
</p>
|
15
|
+
<p class="f6 lh-copy mv0">{{ post.author }}</p>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</a>
|
19
|
+
</article>
|
20
|
+
{% endfor %}
|
21
|
+
</section>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimalist-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YannickDurden
|
@@ -65,7 +65,9 @@ files:
|
|
65
65
|
- _includes/header.html
|
66
66
|
- _includes/navigation.html
|
67
67
|
- _layouts/about.html
|
68
|
+
- _layouts/categories.html
|
68
69
|
- _layouts/default.html
|
70
|
+
- _layouts/index.html
|
69
71
|
- _layouts/page.html
|
70
72
|
- _layouts/post.html
|
71
73
|
- _sass/main.scss
|