westerndevs / western-devs-website

Hexo blog implementation for WesternDevs
https://www.westerndevs.com
2 stars 6 forks source link

No default category causes RSS to fail #226

Closed davidwesst closed 4 years ago

davidwesst commented 4 years ago

No permaline_default value is set for the category component in the permalink URL template. We can set a value to "_" or something to prevent the double slash (i.e. //) from showing up in the URL in the RSS feed.

davidwesst commented 4 years ago

Thoughts @dbelcham?

davidwesst commented 4 years ago

Nevermind. It appears the default permalink settings don't work or I don't know how to set them correctly. Instead, it might be easier to write a test that runs on build that checks the front-matter of each MD post and verifies that it has at least one category.