--- layout: default --- {%- assign action_btn = page.action_btn[0] -%} {%- assign dropdown = page.action_btn[1].dropdown -%} {%- assign dropdown_items = page.action_btn[2].dropdown_items -%}

{{ page.title | default: 'HOME' }}

{{ page.excerpt | default: 'Excerpt' }}

{%- if page.action -%} {%- include home-action-btn.html action_btn=action_btn dropdown=dropdown dropdown_items=dropdown_items -%} {%- endif -%}
{% if page.feature_rows %}
{% for f_row in page.feature_rows %}
{% if f_row.img_path %} {% capture img_path %} {{ '/assets/images/' | relative_url | append: f_row.img_path }} {% endcapture %} {% endif %} {% if f_row.img_alt %} {% capture img_alt %} {{ f_row.img_alt | default: 'Feature image' }} {% endcapture %} {% endif %}
{% if img_path %} {{ img_alt | strip }} {% endif %}

{{ f_row.title | strip | strip_html | strip_newlines | truncate: 10 }}

{{ f_row.excerpt | strip | strip_html | strip_newlines | truncate: 200 }}

{% endfor %}
{% endif%}
{{ content }}