> For the complete documentation index, see [llms.txt](https://devguide.e107.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devguide.e107.org/theme-development/layout-and-templates.md).

# Layout & templates

{% hint style="danger" %}
**Please note:** This page is under construction and has not been finished yet
{% endhint %}

## Introduction

## theme.php&#x20;

{% hint style="warning" %}
Adding `$CUSTOMPAGES` to [theme.php](/theme-development/layout-and-templates.md#theme-php) in e107 v2.x is deprecated and should be avoided!
{% endhint %}

## theme.html
