# Where does the common folder (for html) go in a plugin?

**URL:** https://meta.discourse.org/t/where-does-the-common-folder-for-html-go-in-a-plugin/183062
**Category:** Development
**Created:** [March 12, 2021, 9:16pm UTC](https://meta.discourse.org/t/where-does-the-common-folder-for-html-go-in-a-plugin/183062 "2021-03-12T21:16:19Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [March 13, 2021, 1:02pm UTC](https://meta.discourse.org/t/where-does-the-common-folder-for-html-go-in-a-plugin/183062/5 "2021-03-13T13:02:01Z")

</div>

For CSS, the equivalent in a plugin is [plugin]/assets/stylesheets/common/[file.scss]

Matching this format, I’ve tried adding a file at [plugin]/assets/views/layouts/common/header.html, but it didn’t work (just doing views/header.html didn’t work either).

I can change the templates, but for simple html changes like we do in themes a simple html change in header.html (or the equivalent) would be nice. For example, where would you put the following in a plugin (that’s already doing complex server side stuff, hence the need for a plugin):

> [@Customize the header with links, icons, or menus](https://meta.discourse.org/t/customize-the-header-with-links-icons-or-menus/13368/1):
>
> Select the `common` or `desktop` tab and then add your custom HTML to the `header` tab . Customizing on mobile can be complicated if you are a new to HTML/CSS, so I personally recommend that you change your header only on `desktop` to start.
> 
> As example you can start to add the HTML part of your menu in the `header` tab
> 
> ```plaintext
> <div id="top-navbar">
> <span id="top-navbar-links">
> <a href="http://example.com">Home</a>
> <a href="http://example.com/about/">About</a>
> <a href="http://example.com/news/">News</a>
> <a href="http://example.com/products/">Products</a>
> <a href="http://blog.example.com/blog">Blog</a>
> <a href="http://forums.example.com/">Forums</a> 
> </span>
> </div>
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/where-does-the-common-folder-for-html-go-in-a-plugin/183062)._
