Skip to documentation content

Team Member Page

All complete examples

Demonstrate Team Member Page.

What this example teaches

  • Compose Team Member Page from reusable section and theme templates
  • Keep the page template thin by including shared partials
  • Team Members datastore item page. Passes entity.linked_author into the main section for posts.
  • Keep custom fields on the template that owns them

View this pattern on the live demo site

Files

One team member page wrapping the profile section.

Liquid
{% comment %}
	Team member page: profile for a Team Members datastore item, with optional blog posts.
{% endcomment -%}
{%- include "/_header.liquid" -%}
{%- include "/sections/_generic_banner.liquid" -%}
{%- include "/sections/_breadcrumbs.liquid" -%}
{%- include "/sections/_team_member_main.liquid" team_member:entity section_class:'bg-body' -%}
{%- include "/sections/_cta_snippet.liquid" section_class:'py-4 py-lg-5' -%}
{%- include "/_footer.liquid" -%}