{% import "macros.html" as macros %} {% if page.title %}{{ page.title }} - {{ config.title }}{% else %}{{ config.title }}{% endif %} {% if page %} {% set page_title = page.title | default(value=config.title) %} {% set description = page.description | default(value=page_title) %} {% if page.authors | length > 0 %} {% set author = page.authors | join(sep=", ") %} {% else %} {% set author = config.author | default(value=config.title) %} {% endif %} {% if page.extra.cover.image %} {% set image = page.extra.cover.image %} {% elif config.extra.social_image %} {% set image = config.extra.social_image %} {% endif %} {% if image %} {% endif %} {% else %} {% set description = config.description | default(value="A personal blog") %} {% if config.extra.social_image %} {% endif %} {% endif %} {% if section.path is defined and section.path == "/" %} {% if config.extra.profile.avatar_url %} {% endif %} {% if config.extra.profile.social %} {% for social in config.extra.profile.social %} {% endfor %} {% endif %} {% endif %} {% if page.extra.math | default(value=config.extra.math) %} {% include "partials/math.html" %} {% endif %} {% if page.extra.mermaid | default(value=config.extra.mermaid) %} {% include "partials/mermaid.html" %} {% endif %} {% if config.generate_feed %} {% if "atom.xml" in config.feed_filenames %} {% endif %} {% if "rss.xml" in config.feed_filenames %} {% endif %} {% endif %}