# Need help with theme template after\_header.html

**URL:** https://meta.discourse.org/t/need-help-with-theme-template-after-header-html/115773
**Category:** Development
**Created:** [April 23, 2019, 11:28pm UTC](https://meta.discourse.org/t/need-help-with-theme-template-after-header-html/115773 "2019-04-23T23:28:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [April 24, 2019, 1:02am UTC](https://meta.discourse.org/t/need-help-with-theme-template-after-header-html/115773/2 "2019-04-24T01:02:42Z")

</div>

This would be one way to do it, you can add all of this to your `header.html` file. Essentially you need to make the data available for use in your template. [Connector classes are explained a bit here](https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136).

```xml
<script type="text/discourse-plugin" version="0.8">
  const ajax = require('discourse/lib/ajax').ajax;
    api.registerConnectorClass('top-notices', 'custom-content', { 
        setupComponent(args, component) {
            $(function() {
              ajax("about.json").then (function(result){ // get about.json
                component.set('about-site', result.about); // set component with results of about.json
              });
          });
        }
    });
</script>

<script type="text/x-handlebars" data-template-name="/connectors/top-notices/custom-content" >
   <p> {{about-site.description}} </p> <!-- Access description from about.json -->
</script>

```

This uses the plugin outlet called `top-notices` which is positioned similarly to `after_header.html`

There might be a simpler way, but this makes it easy to add a bunch of standard HTML in the template as well, and also makes it easy to pull in related content (anything that’s in [about.json](https://meta.discourse.org/about.json) in this case)… for example `{{about-site.title}}`

---

_[View the full topic](https://meta.discourse.org/t/need-help-with-theme-template-after-header-html/115773)._
