Skip to documentation content

Author Page

All complete examples

Demonstrate Author Page.

What this example teaches

  • Compose Author Page from reusable section and theme templates
  • Keep the page template thin by including shared partials
  • Author entity page: profile and posts.
  • Keep custom fields on the template that owns them

View this pattern on the live demo site

Files

Author archive page: includes the banner and the author-main section.

Liquid
{% comment %}
	Displays an author page, including the author name, image, bio, and recent blog posts by the author
{% endcomment -%}
{%- include "/_header.liquid" -%}
{%- include "/sections/_generic_banner.liquid" -%}
{%- include "/sections/_breadcrumbs.liquid" -%}
{%- include "/sections/_author_main.liquid" author:entity section_class:'bg-body' -%}
{%- include "/sections/_cta_snippet.liquid" section_class:'py-4 py-lg-5' -%}
{%- include "/_footer.liquid" -%}