> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/user/kubernetes/templates/edit.md).

# Edit a custom template

From the menu select **Custom Templates** then click **Edit** next to the template you want to edit.

<figure><img src="/files/acvRa8a254HBiXGQvmsK" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can search within the web editor at any time by pressing `Ctrl-F` (or `Cmd-F` on Mac).
{% endhint %}

If your template is deployed from a Git repository, you will have the option to edit the Git settings if required. You can also click **Reload custom template** to update the template from the remote repository.

<figure><img src="/files/aiExt4Z2mpzJH3ZKXWq2" alt=""><figcaption></figcaption></figure>

Make the required changes to the template then click **Update the template**.
