Adding blog posts to a page-based theme

I find it much easier to add css later than to work with someone elses, so I’m trying to build my own blog.

I’m trying to make my own hugo theme based off the information in this post

That post tells you how to set up a theme with pages. However, it doesn’t provide the code/html needed to blog.

Can anyone explain how to add

  • blog posts
  • a page with list of all blog post titles

This is the code that I have so far GitHub - MikeMitchellWebDev/hugo-blog which is basically just copied from that post linked to above.

Hugo itself providas a bare post theme skeleton incl. example posts

Check out whats added to the theme layouts and content folder

1 Like

Thank you. It’s much easier with that.