jekyll-theme-hydeout 3.2.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80f363e31b760d875a8419415d6794f3df1ffffe
4
- data.tar.gz: 33b1b314bed14a4de9d4cd51f80ea153c635f412
3
+ metadata.gz: e26269616054850143d6a595368418b2bc16660c
4
+ data.tar.gz: 1d57f27594c3ec3d9cdf6a57317182ffdeb67316
5
5
  SHA512:
6
- metadata.gz: 53f7b35118c000b3395c2301d70d94a76248fdc64c2783c242f49c95c7df37e2bd73f1f19c6bc6d1b94818ba19323edf6df2484f9322679da67d34c23ed984b5
7
- data.tar.gz: 78ccc98afddc7f62503fb1f3aeefa2834a5278bb139c2737b266b68ff8ddcaccc35b7c090c3af40be8f5861a591c276d53700deb2a0282003b09d246fa706564
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.2"` to your Gemfile and run
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
@@ -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
- <h2 id="{{ tag | slugify }}">{{ tag }}</h2>
25
- <ul class="posts-list">
26
- {% for post in site.tags[tag] %}
27
- <li>
28
- <h3>
29
- <a href="{{ site.baseurl }}{{ post.url }}">
30
- {{ post.title }}
31
- <small>{{ post.date | date_to_string }}</small>
32
- </a>
33
- </h3>
34
- </li>
35
- {% endfor %}
36
- </ul>
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>
@@ -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
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hydeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Fong