{% if page == 'moments' %}
    {% set class = "d-flex d-lg-block moment" %}
  {% else %}
    {% set class = "d-flex d-md-block" %}
{% endif %}

{% set url = url('<current>') %}
{% set title = label[0]['#context']['value'] %}

<div class="__rs {{class}}">
  <div class="__mail">
    <a target="_blank" href="mailto:?Subject= {{title}} {{url}}">
      <img src="/themes/custom/popsu_colloque/images/mail.svg" alt="Mail">
    </a>
  </div>

  <div class="__facebook">
    <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u={{url}}">
      <img src="/themes/custom/popsu_colloque/images/facebook.svg" alt="facebook">
    </a>
  </div>

  <div class="__twitter">
    <a target="_blank" href="https://twitter.com/intent/tweet?text={{title}}%20{{url}}%20@popsu_colloque">
    <img src="/themes/custom/popsu_colloque/images/twitter.svg" alt="twitter">
  </a>
  </div>

  <div class="__linkedin">
    <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url={{url}}/&title=&summary=&source=">
      <img src="/themes/custom/popsu_colloque/images/linkedin.svg" alt="linkedin">
    </a>
  </div>
</div>
