Closed wmhunter96 closed 5 years ago
The minimum Hugo version for this theme is 0.57, is your Hugo version up to date?
Same here. I can't see the posts on the home
page, they show fine on archive
.
I have Hugo 0.58.3 both on my machine and on Netlify.
https://karamanis.netlify.com https://github.com/gkaramanis/karaman.is
Love the theme, by the way!
@gkaramanis the theme's looking for content/post
dir by default (you can change it in config.toml
). I see that you have many other catalogs in content
and none of those match default settings.
I was trying different directories, must have missed it when I pushed to GitHub, sorry about that.
I've changed it back to posts
but I can't see any posts. And it seems that they stopped showing on archives
, too π€
@gkaramanis OK, I cloned your repo (do you know it weights ~3GB? π±) and based on your folder structure inside content, I changed contentTypeName = "posts"
to post
(it's because you manualny set type of each post, so you can name this folder whatever you want until you have this type: post
inside your front matter. I didn't get that at first glance.).
Also you have your own index.html
layout, so all your posts (files with type: post
) are on route /posts
(name of your folder).
I hope this helps you ;-)
Yes, I knew about the size, thatβs the result of having a photography site for 7+ years π The structure was probably a little messy since it was a migration from Squarespace.
Big thanks for the help, I think I understood what the problem is! π
Fingers crossed then π€
Just to confirm that index.html
inside the layouts
folder (from the previous theme) was the culprit. Thanks again!
Glad to here it! I'm closing the issue π
Hey, I'm new to hugo and love your theme but i've tried to follow examples and can't seem to get my posts to show
https://github.com/wmhunter96/hunterrodriguez