jekyll / jekyll-archives

:books: Archive pages for your Jekyll tags and categories.
https://jekyll.github.io/jekyll-archives/
MIT License
436 stars 99 forks source link

Double Tag Pages Generated #42

Open danielgroves opened 9 years ago

danielgroves commented 9 years ago

I'm currently seeing duplicates of each tag page being generated.

Configuration:

jekyll-archives:
  layouts: 
    tag: tag
  enabled:
    - tags
  permalinks:
    tag: tag/:name/

With this configuration I'd expect (given the tags: photography, backpacking):

What I'm actually seeing is:

I'm currently looking at this as being a bug, I can't see this being intended behaviour as once a URL as been set the default pages aren't required? If this is intended it would at least be nice to see this as a configurable option?

alfredxing commented 9 years ago

Thanks for reporting this issue! What are the /backpacking and /photography pages displaying? Are they duplicates of the pages at the correct URLs, or something different entirely?

danielgroves commented 9 years ago

I had assumed they were (didn't pay too much attention before, but they're actually just kicking out a blank copy of the template.

Normal tag page: screen shot 2015-06-16 at 07 50 29

And one of the stray ones: screen shot 2015-06-16 at 07 50 22