Emoji for jikill
I created a site on the Github pages with Jekyll. I recently tried to run the emoji_for_jekyll plugin. When I build and run the site locally, it works. However, when I commit and view it online, the emoji disappears and all that's left is the syntax (: smile :)
Here is a page on my site http://jfact0ry.com/code/2014/12/10/the-emoji-test.html
This is the resource that I used. 3 steps seem easy enough.
Install the emoji_for_jekyll gem:
gem install emoji_for_jekyll
Add emoji_for_jekyll to the list of gems in config.yml:
gems: ["emoji_for_jekyll"]
See beautiful emoji!
or
Copy emoji_for_jekll.rb and emoji.json into the _plugins directory
And you can view my site pages on Github and they even work there! https://github.com/joshuahouston/joshuahouston.github.io/blob/master/_posts/2014-12-10-the-emoji-test.markdown
Do you know what I'm missing? Why are the pages not rendering correctly for the site, but correct elsewhere? Thank.
source to share
Not all plugins can run on Gitub pages ( see documentation here ).
If you want to use emojies in your gh pages you will have to use parkr jemoji .
-
gem install jemoji
- delete the contents of the folder
_plugins
- change gems in
_config.yml
togems: ["jemoji"]
- from
jekyll serve
- click on github
- be happy; -)
source to share