# Changes on the handlebar templates not reflecting on the browser

**URL:** https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617
**Category:** Support
**Tags:** unsupported-install
**Created:** [August 1, 2018, 5:52am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617 "2018-08-01T05:52:47Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![avinash\_tiwari](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@avinash\_tiwari](https://meta.discourse.org/u/avinash_tiwari)
#### Post date: [August 1, 2018, 5:52am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/1 "2018-08-01T05:52:48Z")

</div>

I am trying to change some content in **about.hbs** just hard coding a paragraph tag to see if changes are reflected back into the browser or not but they are not reflecting back. I even cleared the cache of the browser and also stop the pagespeed and opcache but it is still not reflecting the changes.

Please Help !

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [August 1, 2018, 5:54am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/2 "2018-08-01T05:54:30Z")

</div>

How are you making the changes?

---

<div class="post-metadata">

### Author: ![avinash\_tiwari](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@avinash\_tiwari](https://meta.discourse.org/u/avinash_tiwari)
#### Post date: [August 1, 2018, 5:57am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/3 "2018-08-01T05:57:17Z")

</div>

Directly putting the changes in the template and then restarting the server using this command: `sudo opt/bitnami/ctlscript.sh restart`.

I am then expecting that template to have those changes like a p tag in the about route made by me.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [August 1, 2018, 6:02am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/4 "2018-08-01T06:02:24Z")

</div>

A couple of notes here.

1. You should not be modifying the files directly, your changes will be overwritten with every Discourse update.
2. You’re on the Bitnami install which we don’t provide support for here.
3. I’m not sure what’s available to you on the Bitnami install, but this is how you would do it on the [official install](https://meta.discourse.org/t/142537?silent=true)

[Add long site description to about page - #5](https://meta.discourse.org/t/add-long-site-description-to-about-page/83818/5)

If you need more support, please make sure you follow the official installation guide here first.

[https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)

---

<div class="post-metadata">

### Author: ![avinash\_tiwari](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@avinash\_tiwari](https://meta.discourse.org/u/avinash_tiwari)
#### Post date: [August 1, 2018, 6:06am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/7 "2018-08-01T06:06:19Z")

</div>

do you have any resource on how to create theme for discourse?

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [August 1, 2018, 6:08am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/8 "2018-08-01T06:08:41Z")

</div>

Sure, have a look here

> [@Beginner's guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966):
>
> This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read. What are themes and theme components? A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features. Let’s start with themes. Themes In general, themes are not supposed to be compatible …

---

<div class="post-metadata">

### Author: ![avinash\_tiwari](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@avinash\_tiwari](https://meta.discourse.org/u/avinash_tiwari)
#### Post date: [August 1, 2018, 7:22am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/9 "2018-08-01T07:22:46Z")

</div>

So, if i have to change the **about.hbs** i need to create the theme for it and place the new **about.hbs** in the same hierarchy (same path as in the default file structure) as that of the default **about.hbs**?

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [August 1, 2018, 7:48am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/10 "2018-08-01T07:48:07Z")

</div>

Essentially. To do a full override of the **about.hbs** template you would add the following to the `</head>` section of a theme:

```plaintext
<script type="text/x-handlebars" data-template-name="about">
    <p>This is my new about page!</p>
</script>

```

You can put all of the original **about.hbs** contents in there and edit it down to your liking, or create your own content. Just know that if there is anything important that ever gets changed in core regarding the **about.hbs** , you’ll need to make the necessary changes to your override.

The [link](https://meta.discourse.org/t/add-long-site-description-to-about-page/83818/5) @Johani posted above describes the same thing I just wrote, though 😉

---

<div class="post-metadata">

### Author: ![avinash\_tiwari](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@avinash\_tiwari](https://meta.discourse.org/u/avinash_tiwari)
#### Post date: [August 1, 2018, 8:12am UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/11 "2018-08-01T08:12:25Z")

</div>

Thanks man.

> [@tshenry](#):
>
> The [link](https://meta.discourse.org/t/add-long-site-description-to-about-page/83818/5) @Johani posted above describes the same thing I just wrote, though 😉

Sorry i didn’t notice that script tag there.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 3, 2021, 3:01pm UTC](https://meta.discourse.org/t/changes-on-the-handlebar-templates-not-reflecting-on-the-browser/93617/12 "2021-03-03T15:01:59Z")

</div>


