Rental Templates

Each page within the rental app has its own template to display that page's content.

Where to save template files

Template files will go in a folder that has the same name as the app instance key. For example, if the rental app instance key is "rental" then you would put all of your template files within the rental folder inside the templates folder.

If your theme was called "Custom" then this would be an example folder structure:

  • themes
    • custom
      • theme.json
      • templates
        • home.twig
        • one-column.twig
        • two-column.twig
        • rental
          • available-properties.twig
          • categories.twig
          • category.twig
          • home.twig
          • property.twig
          • properties.twig
          • property-unit.twig
          • search.twig
          • search-results.twig

Rental app pages and their templates

Below is the list of rental app pages and the name of the template file that you should create.

App home

The app home page often shows the properties and/or categories.

Template name: home.twig

Available properties

This page shows the list of properties that have units that are available for rent.

Template name: avaiable-properties.twig

Categories list

This page shows the list of categories.

Template name: categories.twig

Category detail

This page shows the detail information for an individual category. The properties assigned to the category are often shown.

Template name: category.twig

Property detail

This page shows the full details for an individual property.

Template name: property.twig

Property list

This page shows a paginated list of properties.

Template name: properties.twig

Property Unit

This page shows the detail information for the property unit.

Template name: property-unit.twig


The search page can be used to show the form to search for properties.

Template name: search.twig

Search results

The search results page can show the results of an app search. It can show a paginated list of matching properties or property units.

Template name: search-results.twig