jekyll-theme-hydeout 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_includes/tags-list.html +15 -13
- data/_sass/hydeout/_tags.scss +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e26269616054850143d6a595368418b2bc16660c
|
4
|
+
data.tar.gz: 1d57f27594c3ec3d9cdf6a57317182ffdeb67316
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 414cfc5ae038c319ca6d8f8095408d9b0932be3c7ada1c9aa4dcab146bfa9acae63875c6c27395c2a8943cab442b18992b3acc8154de67d62fcd8d5304edb9fc
|
7
|
+
data.tar.gz: 344efc5c183e4cf154294edf0100445bde98beb36c5ba27708b4c51f9929cc96f140727f06c337a88ab5ea53f1db54cc95b04b72fe0d89902e4a311a3e11baf8
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ theme for [Jekyll](http://jekyllrb.com) 3.x and adds new functionality.
|
|
10
10
|
### Usage
|
11
11
|
|
12
12
|
Hydeout is available as the `jekyll-theme-hydeout` Ruby Gem.
|
13
|
-
Add `gem "jekyll-theme-hydeout", "~> 3.
|
13
|
+
Add `gem "jekyll-theme-hydeout", "~> 3.3"` to your Gemfile and run
|
14
14
|
`bundle install`.
|
15
15
|
|
16
16
|
Hydeout uses pagination, so if you have an `index.md`, you'll need to swap
|
data/_includes/tags-list.html
CHANGED
@@ -21,19 +21,21 @@
|
|
21
21
|
<div class="posts-by-tag">
|
22
22
|
{% for tag_pair in tag_words %}
|
23
23
|
{% assign tag = tag_pair | split:'|' | last %}
|
24
|
-
<
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
<
|
29
|
-
<
|
30
|
-
{{ post.
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
<div id="{{ tag | slugify }}" class="posts-for-tag">
|
25
|
+
<h2>{{ tag }}</h2>
|
26
|
+
<ul class="posts-list">
|
27
|
+
{% for post in site.tags[tag] %}
|
28
|
+
<li>
|
29
|
+
<h3>
|
30
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
31
|
+
{{ post.title }}
|
32
|
+
<small>{{ post.date | date_to_string }}</small>
|
33
|
+
</a>
|
34
|
+
</h3>
|
35
|
+
</li>
|
36
|
+
{% endfor %}
|
37
|
+
</ul>
|
38
|
+
</div>
|
37
39
|
{% endfor %}
|
38
40
|
</div>
|
39
41
|
</div>
|
data/_sass/hydeout/_tags.scss
CHANGED
@@ -21,3 +21,18 @@
|
|
21
21
|
}
|
22
22
|
}
|
23
23
|
}
|
24
|
+
|
25
|
+
@keyframes posts-for-tag-fade-in {
|
26
|
+
from { opacity: 0; }
|
27
|
+
to { opacity: 1; }
|
28
|
+
}
|
29
|
+
|
30
|
+
// Display only if targeted
|
31
|
+
.posts-for-tag {
|
32
|
+
display: none;
|
33
|
+
|
34
|
+
&:target {
|
35
|
+
display: block;
|
36
|
+
animation: posts-for-tag-fade-in 0.6s ease-in-out;
|
37
|
+
}
|
38
|
+
}
|