# How to change static output to "assets/js assets/css assets/img" etc.?

**URL:** <https://discourse.gohugo.io/t/how-to-change-static-output-to-assets-js-assets-css-assets-img-etc/3001>\
**Category:** support\
**Created:** [March 27, 2016, 1:41am UTC](https://discourse.gohugo.io/t/how-to-change-static-output-to-assets-js-assets-css-assets-img-etc/3001 "2016-03-27T01:41:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HugoForumUser](https://avatars.discourse-cdn.com/v4/letter/h/c2a13f/32.png) [@HugoForumUser](https://discourse.gohugo.io/u/HugoForumUser)\
**Post date:** [March 27, 2016, 1:41am UTC](https://discourse.gohugo.io/t/how-to-change-static-output-to-assets-js-assets-css-assets-img-etc/3001/1 "2016-03-27T01:41:47Z")

</div>

Hi, very simple question, I know, but I could not find an answer in the docs.  
I need to have all the files from the static folder put under an assets/ root folder.  
How to configure this?  
Thanks!

---

<div class="post-metadata">

**Author:** ![parsiya](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/parsiya/32/1218_2.png) [@parsiya](https://discourse.gohugo.io/u/parsiya)\
**Post date:** [March 27, 2016, 2:11am UTC](https://discourse.gohugo.io/t/how-to-change-static-output-to-assets-js-assets-css-assets-img-etc/3001/2 "2016-03-27T02:11:50Z")

</div>

Create a directory named `assets` inside `static` and put everything there. Be sure to modify the paths in the template, theme and markdown files accordingly. For example your `css` file will be `assets/css/whatever.css` instead of just `css/whatever.css`.

This may break the theme so you may have to edit the theme.
