Hey guys!
I’d like to make an Hugo theme! But, how do I make one?
Regards,
Hugo.
Hey guys!
I’d like to make an Hugo theme! But, how do I make one?
Regards,
Hugo.
That’s a very broad question.
There is no simple answer to this question. You need to at least grasp the basics of Hugo to make your own theme, by reading the documentation. A good place to start is trying the command below:
hugo new site test
cd test
hugo new theme test-theme
echo 'theme = "test-theme"' >> config.toml
hugo server
Then check the structure of the test theme created by Hugo and begin adding your own templates/edits from there. Also, you can borrow inspiration from Hugo themes site (I am currently making my own theme and the themes site has been invaluable)
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.