# How can I make an Hugo theme?

**URL:** <https://discourse.gohugo.io/t/how-can-i-make-an-hugo-theme/41440>\
**Category:** Using Themes\
**Created:** [November 13, 2022, 2:56pm UTC](https://discourse.gohugo.io/t/how-can-i-make-an-hugo-theme/41440 "2022-11-13T14:56:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![urias](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/urias/32/18068_2.png) [@urias](https://discourse.gohugo.io/u/urias)\
**Post date:** [November 13, 2022, 2:56pm UTC](https://discourse.gohugo.io/t/how-can-i-make-an-hugo-theme/41440/1 "2022-11-13T14:56:35Z")

</div>

Hey guys!

I’d like to make an Hugo theme! But, how do I make one?

Regards,

Hugo.

---

<div class="post-metadata">

**Author:** ![anon34553931](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@anon34553931](https://discourse.gohugo.io/u/anon34553931)\
**Post date:** [November 13, 2022, 5:05pm UTC](https://discourse.gohugo.io/t/how-can-i-make-an-hugo-theme/41440/2 "2022-11-13T17:05:33Z")

</div>

That’s a very broad question.

1. What is your website’s niche?
2. What is your content structure?
3. Do you intend to share the theme across websites (as a module)?
4. Do you intend to have a multilingual theme/site?
5. What (external) features do you need to integrate? (e.g. Javascript, CSS Framework, Post Processing, etc).
6. Plus many others…

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:

```auto
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)

> **[Complete List](https://themes.gohugo.io/)**

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [November 15, 2022, 5:06pm UTC](https://discourse.gohugo.io/t/how-can-i-make-an-hugo-theme/41440/3 "2022-11-15T17:06:22Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
