{% import "macros/macros.html" as post_macros %}
{% set current_path = current_path | default(value="/") %} {# Favicon #} {% if config.extra.favicon %} {% set favicon_ext = config.extra.favicon | split(pat=".") | last %} {% endif %} {# Font from cdn or disk #} {% if config.extra.use_cdn | default(value=false) %} {% for cdn in config.extra.cdns %} {% endfor %} {% else %} {% endif %} {# RSS #} {# Theme #} {% if config.extra.stylesheets %} {% for stylesheet in config.extra.stylesheets %} {% endfor %} {% endif %} {% if current_path == "/" %} {% set current_title = config.title | default(value="home") %} {% set current_description = "the personal site of mat ess" %} {% set hero = false %} {% else %} {% set current_title = page.title | default(value=config.title) | default(value="post") %} {% set current_description = page.description | default(value="from the personal site of mat ess") %} {% set hero = page.extra.hero | default(value=false) %} {% endif %} {# Meta links #}