Render other pages similarly to frontpage?

Hi mate,

I was in the same position and luckily the question is already answered.

Check out this awesome @ChrisSLT comment on static page setup:

Read it few times. It is the recipe to robust landing pages on Hugo. I used this technique myself on Code and Send.

My /content/ directory is a mix of (static, landing-page) .html and .md files (articles). I have two taxonomies (don’t know if that’s a right term): /mag/ and /tests/; each is like a separate blog with its own article streams and custom front-matter structure. Also, I have purely static, perfected .html “about” pages coded using one-off responsive CSS. “About” pages are drawing template headers and footers common with other docs. When I update headers or add new meta tag, all my static pages update together with blog pages.

Definitely check out Chris’ post. It’s a must for any Hugo dev.

Best luck and let us know how it goes.

2 Likes