Skip to documentation content

Services Page

All complete examples

Demonstrate Services Page.

What this example teaches

  • Compose Services Page from reusable section and theme templates
  • Keep the page template thin by including shared partials
  • Keep custom fields on the template that owns them

View this pattern on the live demo site

Files

Services index page wrapping the service-cards section.

Liquid
{% comment %}
	Outputs a services landing page
{% endcomment -%}
{%- include "/_header.liquid" -%}
{%- include "/sections/_generic_banner.liquid" -%}
{%- include "/sections/_breadcrumbs.liquid" -%}
{%- include "/sections/_service_cards.liquid" section_class:'py-5 text-bg-light' -%}
{%- include "/sections/_simple_cta.liquid" -%}
{%- include "/_footer.liquid" -%}