Add categories to blog

#1

Hi,
I an working on a blog with Massively and using Netlify, and GitHub, the blog is at blog.elicoustan.com(https://github.com/edcous/eliblog )and I need help figuring out how to categorize my posts. Any help would be greatly appreciated. Thanks in advance for your help!

#2

You’ll probably wanna use a categories taxonomy. See: https://gohugo.io/templates/taxonomy-templates/#readout

#3

Right, but how do I make sure it looks like the rest of my blog, I’m using massively template.

#4

I’m not familiar with that particular theme. But basically you’ll wanna create a template/layout for your categories taxonomy. From there you can let it inherit your baseof template.

That’s just one way to do it though. It all depends on how you want to display your categories. I would recommend browsing the Hugo Themes and when you find one that displays categories how you like, dig into their code to see how they did it.

#5

How do I let it inherit the base template?

#6

And also, how would I add a link to that on my menu?

#7

A link to what?

#8

The catagory list

#9
<a href="/categories/">Categories</a>