# How to rewrite the template in a gjs component

**URL:** https://meta.discourse.org/t/gjs-template/406094
**Category:** Support
**Created:** [June 25, 2026, 4:04am UTC](https://meta.discourse.org/t/gjs-template/406094 "2026-06-25T04:04:17Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [June 25, 2026, 7:21am UTC](https://meta.discourse.org/t/gjs-template/406094/4 "2026-06-25T07:21:51Z")

</div>

I suppose if you really need it, you could make a PR to add arguments to the outlet.

There is also the [`search` service](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/search.js), which may help.

---

_[View the full topic](https://meta.discourse.org/t/gjs-template/406094)._
