and inside each folder was a default.md file with the following code…
---
redirect: '/category:flights'
---
---
redirect: '/category:maintenance'
---
---
redirect: '/category:stuff'
---
My question: Is this to proper way to be creating header links to display category pages? I’m guessing there’s a more elegant way to do this, but I can’t figure it out.
I’ve only got three categories for all my posts and I have always preferred navigating a site via a header menu (because headers always display at the top before sidebars) so I was trying my best to replicate the format that’s on the site I’m trying to update.
@Alpha, It is however very common for blog sites to show a category list, or a category cloud. Visitors are familiar with the concept…
But if you wish to stick to the menu items, you could alternatively, instead of using redirects, which might hurt your SEO if not used correctly and cause an extra roundtrip by the browser, consider turning each default.md page into a blog.md page, each with a proper collection.
For example: /public_html/user/pages/02.flights/blog.md