# Dope theme customize main page layout

**URL:** <https://forum.ghost.org/t/dope-theme-customize-main-page-layout/41604>\
**Category:** Themes\
**Created:** [October 2, 2023, 4:04pm UTC](https://forum.ghost.org/t/dope-theme-customize-main-page-layout/41604 "2023-10-02T16:04:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Spiritix](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/spiritix/32/26445_2.png) [@Spiritix](https://forum.ghost.org/u/Spiritix)\
**Post date:** [October 2, 2023, 5:20pm UTC](https://forum.ghost.org/t/dope-theme-customize-main-page-layout/41604/2 "2023-10-02T17:20:12Z")

</div>

The actual javascript used by the theme is the compiled one found in **assets/built/main.min.js**

Even if you change the source file **`assets/js/main.js`** it won’t automatically update the compiled file. To do that, you need to run a build command.

To run the build command:

- from the terminal, navigate to the theme folder
- run the command `npm install`
- run the command `npx gulp build`

Reload your browser and check the changes. You don’t need to restart Ghost.

* * *

Note: You only need to run `npm install` the first time, on subsequent changes you only need to run `npx gulp build`

---

_[View the full topic](https://forum.ghost.org/t/dope-theme-customize-main-page-layout/41604)._
