emoji_for_jekyll 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/emoji_for_jekyll.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3990124aa4a01a99009b01cf561e03df96c9f49f
|
4
|
+
data.tar.gz: b0d4011b6f91fa935689d1fd4604ab6825a7c5be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b298544041e9455b18a722b636fe162a96b9f92a429435f5d1149586a05cd26b406ff69f781250c4ad29022303b5d4969e82bb07c93dce3569439f0a864af82
|
7
|
+
data.tar.gz: 6109ef4b5a8ba8bee65c2727212721077b73a322cb34ee1ae4afad90c6eb006f88e6d9dff16db57598e30e54cd0e0a0efcca9d811d625c6b79e9cf9a39577678
|
data/README.md
CHANGED
@@ -16,6 +16,17 @@ _or_
|
|
16
16
|
|
17
17
|
1. Copy `emoji_for_jekll.rb` and `emoji.json` into the `_plugins` directory
|
18
18
|
|
19
|
+
### GitHub Pages
|
20
|
+
This plugin (and as a matter of fact, most Jekyll plugins) do not work with GitHub Pages as GitHub
|
21
|
+
(understandably) do not allow arbitrary code to be executed on their servers. As a result, only
|
22
|
+
[selected plugins](https://help.github.com/articles/using-jekyll-plugins-with-github-pages/) work
|
23
|
+
with GitHub pages.
|
24
|
+
|
25
|
+
Here are my suggestions if you are using GitHub Pages:
|
26
|
+
|
27
|
+
1. Build your site locally and push the content of `_site`.
|
28
|
+
|
29
|
+
2. Use [Jemoji](https://help.github.com/articles/emoji-on-github-pages/).
|
19
30
|
|
20
31
|
## Options
|
21
32
|
### Whitelist and blacklist
|
data/lib/emoji_for_jekyll.rb
CHANGED
@@ -20,7 +20,7 @@ module EmojiForJekyll
|
|
20
20
|
|
21
21
|
site.pages.each { |p| substitute(p, additional_keys) }
|
22
22
|
|
23
|
-
site.posts.each { |p| substitute(p, additional_keys) }
|
23
|
+
(site.posts.respond_to?(:docs) ? site.posts.docs : site.posts ).each { |p| substitute(p, additional_keys) }
|
24
24
|
end
|
25
25
|
|
26
26
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emoji_for_jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yihang Ho
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A plugin for Jekyll that seamlessly enable emoji.
|
14
14
|
email: me@yihangho.com
|
@@ -43,9 +43,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|
45
45
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
46
|
+
rubygems_version: 2.4.5.1
|
47
47
|
signing_key:
|
48
48
|
specification_version: 4
|
49
49
|
summary: Seamlessly enable emoji in Jekyll.
|
50
50
|
test_files: []
|
51
|
-
has_rdoc:
|