> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firmhouse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Other template

> Reference for Liquid tags supported in the Customer Portal generic custom-content template (other.liquid), grouped by default and optional usage.

`other.liquid` tags are grouped by default vs optional usage.

* Default components are already present in the shipped `other.liquid` template.
* Optional components can be added or used to replace parts of the default layout.

Common tags are documented on [Common tags](./common): `{% legacy_navbar %}`.

## Default components

## Page context

On the Customer Portal v2 order details page, `other.liquid` also receives an `order` object.

If the order has a finalized invoice, you can access it through `order.invoice` and reuse invoice fields such as the invoice number, status, and payment link.

```liquid theme={null}
{% if order.invoice %}
  <a href="{{ order.invoice.pay_now_url }}">
    Pay invoice {{ order.invoice.number }}
  </a>
{% endif %}
```

## `{% main_content %}`

```liquid theme={null}
{% main_content %}
```

```html theme={null}
<!-- raw content_html rendered directly -->
<div>...</div>
<p>...</p>
...
```

## Notes

* `{% main_content %}` returns an empty string if no `content_html` register is present.
