jekyll-tagslist 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/lib/jekyll-tagslist/tagslist_tag.rb +2 -2
- data/lib/jekyll-tagslist/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1932e51dc9d550c8738212bb0e649b7aee4af6a9
|
4
|
+
data.tar.gz: 49b39ce84461a93bcc83a859271eb3dca50e0eb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f671dc26fada109ca994a4bb4af2169ea2f570aae1c212a1c1b7883d321c13497cdb6e120eb7c2d17e194fd232d299961aba46b1384d544f2383778467317e3
|
7
|
+
data.tar.gz: 53f53259eb470c79d7f95577f5fa535b65f9677810d767b01d31fbd234a488763e8fd91789abfa864c0dffdeca61246aac3377cb173977892cf7fc7cbfffd487
|
data/README.md
CHANGED
@@ -3,6 +3,18 @@
|
|
3
3
|
[![Join the chat at https://gitter.im/crispgm/jekyll-tags-list-plugin](https://badges.gitter.im/crispgm/jekyll-tags-list-plugin.svg)](https://gitter.im/crispgm/jekyll-tags-list-plugin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4
4
|
![](https://img.shields.io/badge/license-MIT-blue.svg)
|
5
5
|
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
```
|
9
|
+
$ gem install jekyll-tagslist
|
10
|
+
```
|
11
|
+
|
12
|
+
Then, add the following to your site's ```_config.yml```:
|
13
|
+
```
|
14
|
+
gems:
|
15
|
+
- jekyll-tagslist
|
16
|
+
```
|
17
|
+
|
6
18
|
## Usage
|
7
19
|
|
8
20
|
```
|
@@ -61,8 +61,8 @@ module Jekyll
|
|
61
61
|
html = ""
|
62
62
|
|
63
63
|
tags.each do |tag, count|
|
64
|
-
count_html = @show_count == 0 ? "" : "<div class=\"
|
65
|
-
html << "<div class=\"
|
64
|
+
count_html = @show_count == 0 ? "" : "<div class=\"tag-item-count\">#{count}</div>"
|
65
|
+
html << "<div class=\"tag-item\"><div class=\"tag-item-name\">#{tag}</div>#{count_html}</div>\n"
|
66
66
|
end
|
67
67
|
|
68
68
|
html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-tagslist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.0.14.1
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: A Liquid tag plugin for Jekyll.
|