gitbook-plugin-packages
v0.0.3
Published
Very ugly plugin to get posts from our blog and list them inside the compiled book
Downloads
3
Keywords
Readme
Gitbook Plugin Platanus Blog
Very ugly plugin to get posts from our blog and list them inside the compiled book
Config
Add the following to the book.json
...
"plugins" : ["platanus-blog"],
"pluginsConfig": {
"platanusBlog": {
"url": "https://cb.platan.us/posts-by-tag.json"
}
},
...
Where platanusBlog.url
is the url where we get the posts.
The blog is a Jekyll compiled static site that use a plugin to generate a static json file with the posts by tag. _plugin/tagsToJson.rb
How to use it
Just add the following block where you want to add the list of post. The block receive n
arguments being the tags you want to filter by.
{% getPostsByTag 'node', 'ionic' %}{% endgetPostsByTag %}
Credits
Thank you contributors!
Gitbook Plugin Platanus Blog is maintained by platanus.
License
La Guia is © 2016 platanus, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.