{%- if include.p == 'previous' -%} {%- assign align = 'pull-left' -%} {%- assign arrow = 'before' -%} {%- assign indicator = 'Previous' -%} {%- else -%} {%- assign align = 'pull-right' -%} {%- assign arrow = 'next' -%} {%- assign indicator = 'Next' -%} {%- endif -%} {%- assign _p = include.item -%}
{%- if _p %}
{{ indicator }} navigate_{{ arrow }}
{%- if _p.header -%} {{ _p.header }} •  {%- endif -%} {{ _p.title }} {%- else %}
 
{% endif -%}