# Location of gitea HTML page source and other site assets

**URL:** <https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898>\
**Category:** Install/Maintain/Configure\
**Created:** [February 7, 2020, 11:16am UTC](https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898 "2020-02-07T11:16:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tb1](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@tb1](https://forum.gitea.com/u/tb1)\
**Post date:** [February 7, 2020, 11:16am UTC](https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898/1 "2020-02-07T11:16:10Z")

</div>

I am running Gitea on my server (without customisations). When I open the home page from a browser, it all works fine. However, if I curl [https://gitea.mydomain.tld](https://gitea.mydomain.tld), I can see various javascripts, css files and image files are referenced in the HTML. If I wget [https://gitea.mydomain.tld](https://gitea.mydomain.tld) then index.html is successfuly downloaded. But on my server, I cannot find any of the site assets mentioned - no index.html, none of the .png image files, none of the .css files and no .js files. Is gitea pulling these from some remote location when I open the URL? If not, where are all these files located?

---

<div class="post-metadata">

**Author:** ![guillep2k](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/guillep2k/32/646_2.png) [@guillep2k](https://forum.gitea.com/u/guillep2k)\
**Post date:** [February 7, 2020, 11:17am UTC](https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898/2 "2020-02-07T11:17:46Z")

</div>

They’re embedded inside Gitea’s binary.

---

<div class="post-metadata">

**Author:** ![tb1](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@tb1](https://forum.gitea.com/u/tb1)\
**Post date:** [February 7, 2020, 11:19am UTC](https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898/3 "2020-02-07T11:19:29Z")

</div>

Aha! Thanks for your very quick response. That’s an interesting approach. I will explore a few customisations now and see how I get along. Thanks again.

---

<div class="post-metadata">

**Author:** ![guillep2k](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/guillep2k/32/646_2.png) [@guillep2k](https://forum.gitea.com/u/guillep2k)\
**Post date:** [February 7, 2020, 11:23am UTC](https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898/4 "2020-02-07T11:23:18Z")

</div>

To customize a resource, you place your version inside the `custom` directory. You can get a copy of the file you want customized from our sources, but make sure to navigate to the appropriate version in the repository. For example, to get the template for the home page for Gitea **1.10.3** , you need to grab it from:

> <https://github.com/go-gitea/gitea/blob/v1.10.3/templates/home.tmpl>

And place it at `custom/templates/home.tmpl`

---

<div class="post-metadata">

**Author:** ![killaken2000](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@killaken2000](https://forum.gitea.com/u/killaken2000)\
**Post date:** [April 10, 2020, 12:16am UTC](https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898/6 "2020-04-10T00:16:07Z")

</div>

I’ve tried for hours and can’t figure out how to do this on 1.11.4

this is my folder structure and it’s off the main directory with data, logs, etc directories:

```
custom
└── templates
    └── base
        └── head_navbar.tmpl

```

I got the head\_navbar.tmpl file directly from github using the tags for that release

i’m trying to remove the gitea icon and ‘help’ navbar items.

Is there a app.ini setting I need to change/add?

---

<div class="post-metadata">

**Author:** ![guillep2k](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/guillep2k/32/646_2.png) [@guillep2k](https://forum.gitea.com/u/guillep2k)\
**Post date:** [April 10, 2020, 3:28am UTC](https://forum.gitea.com/t/location-of-gitea-html-page-source-and-other-site-assets/1898/7 "2020-04-10T03:28:34Z")

</div>

Sorry about the stupid question but… did you remember to restart Gitea after the changes?

Otherwise, make sure the `custom` folder is located where Gitea expects it to be. Go to your “site administration” page, the “configuration” tab, and look for `Custom File Root Path`.
