{% extends "base.twig" %}

{% set paths_base = '../..' %}
{% set bodyClasses = 'single single-service' %}

{% set type = "services" %}
{% set post = post_type[~type~].items[currentPost] %}


{% block breadcrumbs %}

    {% set breadcrumbs_block = 
        {
            "post_type": "services",
            "show_terms": true,
            "current_id": currentPost,
            "classes": "breadcrumbs--spacing-2"
        }
    %}
    {% include '../blocks/breadcrumbs.twig' with {'block': breadcrumbs_block } %}

{% endblock %}

 
{% block content %}

    {% for block in post.blocks %}
        {% include '../blocks/'~block.key~'.twig' with {'block': block } %}
    {% endfor %}

{% endblock %}