{#
  Template for UnLondon Body.

  An accordion group of Body.

  body: array of Body, each FAQ is an array:
    question: The quesiton.
    answer: The answer.
  coloured_bg: whether the block has a coloured background, boolean.
  flush: whether this block should be flush to the one below it, boolean.
#}

{# EXTENDS #}
{% extends "@organisms/tm-ul/ul-base/ul-base.twig" %}

{% set centred=centred|default(false) %}
{% set show_more=show_more|default(false) %}

{% block content_block %}
  {{ attach_library('ui_patterns/ul_body.ul_body_lib') }}

  <div class="col col-lg-8 ul-body{% if centred %} ul-c{% endif %}">
  {% if show_more %}
    {% include '@molecules/tm-bits/tm-bits-more-less.twig' with {
      'content': content,
      'style': 'basic',
      'more_str': 'Read more',
    } only %}
  {% else %}
    {{ content }}
  {% endif %}
  </div>
{% endblock %}
