{% extends "core/base.html" %} {% load core_tags menu_tags static wagtailuserbar wagtailcore_tags wagtailimages_tags %} {% block content %}
{{ self.company_intro|richtext }}
{% if self.mission_title or self.vision_title %}
{% if self.mission_title %}

{{ self.mission_title }}

{{ self.mission_text|richtext }}
{% endif %} {% if self.vision_title %}

{{ self.vision_title }}

{{ self.vision_text|richtext }}
{% endif %}
{% endif %} {% if self.history_title %}

{{ self.history_title }}

{{ self.history_text|richtext }}
{% endif %} {% if self.team_title %}

{{ self.team_title }}

{{ self.team_intro|richtext }}
{% for block in self.team_members %} {% if block.block_type == 'team_member' %}
{% if block.value.photo %} {% image block.value.photo width-400 as team_photo %} {{ block.value.name }} {% endif %}

{{ block.value.name }}

{{ block.value.position }}

{% if block.value.bio %}
{{ block.value.bio|richtext }}
{% endif %}
{% endif %} {% endfor %}
{% endif %} {% if self.additional_content %}
{% for block in self.additional_content %} {% if block.block_type == 'heading' %}

{{ block.value }}

{% elif block.block_type == 'paragraph' %} {{ block.value|richtext }} {% elif block.block_type == 'image' %} {% image block.value width-800 as content_image %} {% elif block.block_type == 'quote' %}

{{ block.value.quote }}

{% if block.value.attribution %} {% endif %}
{% endif %} {% endfor %}
{% endif %} {% endblock content %}