I’m trying to develope a website, and is there a way to generate only pages instead of posts? I’m trying to create couple of hundred pages from the excel sheet as data source and export will be a lot of pages.
How can I see the generated are actually pages and not posts in hugo? Looking a way to differntiate between post and page, as they look totally identical.
In SEO point of view, pages are perfect for everygreen contnent and where posts are for news related content etc.
“Pages” versus “posts” is an abscract way of thinking about content. Hugo means you have to set up the content as you want; that could mean using a theme or coding it oneself.
The layout file single.html is responsible for the pages’ layout—no matter whether they are pages from /content/ (e.g. /content/about/index.md) or from sections (e.g. a blog post).
Create another template file /layouts/posts/single.html. Here you can style your post pages differently.