# Hugo modules for "dummies"

**URL:** <https://discourse.gohugo.io/t/hugo-modules-for-dummies/20758>\
**Category:** tips & tricks\
**Created:** [September 12, 2019, 2:43pm UTC](https://discourse.gohugo.io/t/hugo-modules-for-dummies/20758 "2019-09-12T14:43:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![craftsmandigital](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/craftsmandigital/32/9556_2.png) [@craftsmandigital](https://discourse.gohugo.io/u/craftsmandigital)\
**Post date:** [September 13, 2019, 8:12am UTC](https://discourse.gohugo.io/t/hugo-modules-for-dummies/20758/4 "2019-09-13T08:12:54Z")

</div>

Thank you for your feedback @HenrySkup

> [@HenrySkup](#):
>
> Having your website in a Git repository is **not** necessary for Hugo Modules to work – it can even be local files on your computer.
> 
> The key is that **your site needs to be a Hugo Mod itself** , which only means that it has a `go.mod` file in its directory.

I have experimented with the **hugo mod init** command. I admit that I reealy cant grasp all of it. It does not matter what you write to the parameter, it works anyway.

- Even if you have a non-existent gitHub repo as a parameter, the command will work anyhow.  
`hugo mod init github.com/doesnt/exist`
- This one will also actually work  
`hugo mod init ugly-dummy`

As you say. You do not need a GitHub repo as a parameter.

I have updated the post according to your guidelines.

I have also updated that it is still possible to use the **theme** variable in **config.toml**

---

_[View the full topic](https://discourse.gohugo.io/t/hugo-modules-for-dummies/20758)._
