New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate a /tag/index.html #43

Closed
chrylis opened this Issue Nov 12, 2015 · 7 comments

Comments

Projects
None yet
5 participants
@chrylis

chrylis commented Nov 12, 2015

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.

@nhoizey

This comment has been minimized.

Show comment
Hide comment

nhoizey commented Sep 5, 2016

@ParthKolekar

This comment has been minimized.

Show comment
Hide comment
@ParthKolekar

ParthKolekar Mar 27, 2017

@nhoizey how did you get this working?

I created a tag directory, but tag/index.html is being copied verbatim.

ParthKolekar commented Mar 27, 2017

@nhoizey how did you get this working?

I created a tag directory, but tag/index.html is being copied verbatim.

@0xdevalias

This comment has been minimized.

Show comment
Hide comment
@0xdevalias

0xdevalias Mar 27, 2017

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.

0xdevalias commented Mar 27, 2017

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.

@ParthKolekar

This comment has been minimized.

Show comment
Hide comment
@ParthKolekar

ParthKolekar Mar 27, 2017

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. 😭 😭
I wasted an entire day, only to realize that there need to be three dashes in my file.

ParthKolekar commented Mar 27, 2017

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. 😭 😭
I wasted an entire day, only to realize that there need to be three dashes in my file.

@0xdevalias

This comment has been minimized.

Show comment
Hide comment
@0xdevalias

0xdevalias Mar 27, 2017

0xdevalias commented Mar 27, 2017

@pattex pattex closed this Mar 29, 2017

@nhoizey

This comment has been minimized.

Show comment
Hide comment
@nhoizey

nhoizey Mar 29, 2017

@ParthKolekar sorry you wasted a full day! ;-)

nhoizey commented Mar 29, 2017

@ParthKolekar sorry you wasted a full day! ;-)

@ParthKolekar

This comment has been minimized.

Show comment
Hide comment
@ParthKolekar

ParthKolekar Mar 29, 2017

None of it was your fault.

ParthKolekar commented Mar 29, 2017

None of it was your fault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment