Employment App Templates

Each page within the employment 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 employment app instance key is "jobs" then you would put all of your template files within the jobs 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
        • jobs
          • application.twig
          • categories.twig
          • category.twig
          • home.twig
          • job.twig
          • jobs.twig

App pages and their templates

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

App home

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

Template name: home.twig

Application

This page shows the job application. Applications use an employment app form to display the form fields in the application. This page simply display the application form using the application form template. 

Template name: application.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 jobs assigned to the category are often shown.

Template name: category.twig

Job detail

This page shows the full details for an individual job opening.

Template name: job.twig

Job list

This page shows a paginated list of jobs.

Template name: jobs.twig