{% macro content(page) %} {% set separator = config.extra.separator | default(value="•") %}
{{ page.title }}
{% if page.extra.tldr %}

TL;DR:

{{ page.extra.tldr }}

{% endif %} {# Optional table of contents #} {% if page.extra.toc | default(value=false) %} {% if page.toc %}

{%- if lang != config.default_language %} {{ trans(key="table_of_contents" | safe, lang=lang) }} {% else %} Table of Contents {% endif %}

    {% for h1 in page.toc %}
  • {{ h1.title }} {% if h1.children %}
      {% for h2 in h1.children %}
    • {{ h2.title }} {% if h2.children %} {% endif %}
    • {% endfor %}
    {% endif %}
  • {% endfor %}
{% endif %} {% endif %}
{{ page.content | safe }}
{# giscus / utterances comments #} {% if config.extra.giscus.enabled_for_all_posts or page.extra.giscus %} {# TODO: HERE GOES GISCUS SUPPORT #} {% elif config.extra.utterances.enabled_for_all_posts or page.extra.utterances %}
{% endif %}
{% endmacro content %}