fongandrew / hydeout

A refreshed version of Hyde for Jekyll 3.x and 4.x
https://fongandrew.github.io/hydeout/
Other
594 stars 772 forks source link

make use of the thing you're checking for #24

Closed kenman345 closed 6 years ago

kenman345 commented 6 years ago

You check for category_page variable but then dont use it or the elements that allow it to look better.

Without this, if you make a category thats slugified, then you wont be getting the pretty name you gave it in the title. This fixes that.

kenman345 commented 6 years ago

I made a category like this:

---
layout: category
title: Photo Galleries
category: Photo-Galleries
---

And the link to each post in that category didn't get the nice name in the meta tag link. It instead used the category name. This change adjusts it inline to how your documentation indicates one would create a pretty name for a category.

kenman345 commented 6 years ago

Might not need the default but figured it couldn't hurt. Let me know if you wish for me to remove that part of the change, or you can do it yourself, but I think this is a simple change that is low risk and makes a lot of sense to fix.

fongandrew commented 6 years ago

Good catch. Thanks for the fix!