Any disadvantage to having the path of sections and taxonomies the same?

Hi,

I’ve been testing this but I can’t find any difference, probably I haven’t reached that point yet. Is there a disadvantage into having the same path for both sections and taxonomies?

For example:

  • My section/folders are: /lorem/ipsum/content.md
  • My custom taxonomy is: /lorem/ipsum/

Any advantages to this? More specifically, any disadvantages on it and why I should not mix the two?

Thank you.

I personally would strongly discourage this.

It will probably become evident once you have more content available and more complex layouts. Given content/lorem/dolor/_index.md, is this a taxonomy or content subsection? Should it use list.html or taxonomy.html layout?

1 Like

Ahh! Yes, yes. I see it now. Yep, I’d like to avoid that future headache.

I just found out about the --path-warnings flag and it’s showing index.html conflicts too, it must be the list and taxonomy layouts overwriting each other.

Thank you very much! As always very informative and helpful. Much appreciated!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.