Skip to documentation content

Service Page

All complete examples

Demonstrate Service Page.

What this example teaches

  • Compose Service 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

One service detail page wrapping the service section.

Liquid
{% comment %}
	Display a page for a single service datastore_item
{% endcomment -%}
{%- include "/_header.liquid" -%}
{%- include "/sections/_generic_banner.liquid" -%}
{%- include "/sections/_breadcrumbs.liquid" -%}
{%- include "/sections/_service.liquid" service:entity show_page_title:false section_class:'py-5 my-lg-2' -%}
{%- include "/sections/_cta_snippet.liquid" section_class:'mt-4 mb-5' -%}
{%- include "/_footer.liquid" -%}