Closed jcubic closed 7 years ago
{{ site | tag_cloud }}
outputs:
Jekyll::Drops::SiteDrop
I have this in Gemfile:
gem 'jekyll', '3.2' gem 'jekyll-paginate' gem 'pygments.rb' gem 'jekyll-tagging' gem 'json', '~> 2.0'
I was testing older version just to be sure if it's not version issue.
My posts have space separated tags, and I've added this in my _include/sidebar.html:
_include/sidebar.html
my tag_page.html have:
--- layout: default --- <header> <h2>{{ page.tag }}</h2> </header> <ul> {% for post in page.posts %} <li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li> {% endfor %} </ul> <div id="tag-cloud"> {{ site | tag_cloud }} </div>
and I have this in _config.yml
tag_page_layout: tag_page tag_page_dir: tag tag_permalink_style: pretty
not tag directory and no tag cloud.
Sorry, I didn't have _plugins/ext.rb because I've removed it while testing.
outputs:
I have this in Gemfile:
I was testing older version just to be sure if it's not version issue.
My posts have space separated tags, and I've added this in my
_include/sidebar.html
:my tag_page.html have:
and I have this in _config.yml
not tag directory and no tag cloud.