December 25, 2024
Test Post Title 3
Unlike tags, categories for posts can also be defined by a post’s file path. Any directory above _post will be read-in as a category. For example, if a post is at path movies/horror/_posts/2019-05-21-bride-of-chucky.markdown, then movies and horror are automatically registered as categories for that post. When the post also has front matter defining categories, they just get added to the existing list if not present already. The hallmark difference between categories and tags is that categories of a post may be incorporated into the generated URL for the post, while tags cannot be.