{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}

{% block body %}

    <div class="column red">
      <div class="citation">
        {{page.content}}
      </div>

      <div class="chap">
        <h2>{{page.title|upper}}</h2>

        {% for module in page.collection() %}
          <a href="#{{module.title}}">{{module.title|upper}}</a>
        {% endfor %}

        <div class="reso">
          <a href="https://www.facebook.com/entreicietailleurs?ref=br_rs" target="_blank">
            <img src="user/themes/anissabensalah/images/fb.svg" alt="">
          </a>
          <a href="https://www.youtube.com/watch?v=atTcasPy3JY" target="_blank">
            <img src="user/themes/anissabensalah/images/yt.svg" alt="" >
          </a>
        </div>
      </div>
    </div>

  <div class="column content">

    {% for module in page.collection() %}
        {{ module.content }}
    {% endfor %}

  </div>

{% endblock %}
