Closed chrylis closed 7 years ago
Here is the page I generate: https://nicolas-hoizey.com/tags/
Here is the source: https://github.com/nhoizey/nicolas-hoizey.com/blob/master/tags/index.html
@nhoizey how did you get this working?
I created a tag directory, but tag/index.html is being copied verbatim.
From the README
Now you have a new filter called tag_cloud which you can use with the site object as argument in your layout to get a cloud of all your site's tags.
Oh I got my problem.
my tag/index.html had this content
--
layout: home
permalink: /tag/
title: Tag
--
<div class="tagscloud">
{{ site | tag_cloud }}
</div>
Do you see the error here? The there are only two dashes. :sob: :sob: I wasted an entire day, only to realize that there need to be three dashes in my file.
Hahaha! The modern evolution of the missing ; problem :p
Get Outlook for iOShttps://aka.ms/o0ukef
From: Parth Laxmikant Kolekar notifications@github.com Sent: Tuesday, March 28, 2017 9:00:46 AM To: pattex/jekyll-tagging Cc: alias1; Manual Subject: Re: [pattex/jekyll-tagging] generate a /tag/index.html (#43)
Oh I got my problem.
my tag/index.html had this content
Do you see the error here? The there are only two dashes. 😠😠I wasted an entire day, only to realize that there need to be three dashes in my file.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/pattex/jekyll-tagging/issues/43#issuecomment-289599346, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAuA4-zGAdcn7x1Bcb5HjkFfhnToDspyks5rqDGOgaJpZM4Gg0ye.
@ParthKolekar sorry you wasted a full day! ;-)
None of it was your fault.
The
/tag/
directory has no index, which produces either a Forbidden or a directory listing. It would be nice to have something there, either a configurable page or just a default-layout page with the tag cloud as the content.