minddust / minddust.github.io

www.minddust.com
100 stars 82 forks source link

Using subdirectories for categories #8

Closed poproar closed 7 years ago

poproar commented 7 years ago

3 ? I am still wrapping my head around collections and categories and so for this implementation keeps my source dir pretty clean. Now to muss it up, but not by much I found this: https://github.com/jekyll/jekyll/issues/1141

which taught me that sudir/_posts works for categories but it is not hitting in the blog_by_category layout. forgive me as I am just starting out and I am sure it is something to do with the loop. I will do my best to figure out how I can do this but I thought you might have an idea. Oh, and i couldn't figure out how to label this a question

poproar commented 7 years ago

I tried to delete this because I discovered I was trying to use a hyphen in the slug but not the directory. As long as the slug matches the directory this works. Fantastic