{%- import '_globals.njk' as globals with context -%} {# Set root domain here to inherit values from config file #} {%- set root = utils.conf.homeDomain or utils.conf.domain -%} {%- set title -%} {%- if metaTitle -%} {{ metaTitle + ' | ' + globals.name }} {%- else -%} {{ globals.name + ' – ' + globals.motto }} {%- endif %} {%- endset -%} {%- set url = root + (metaUrl or '') -%} {{ title }} {% block stylesheets %} {% endblock %} {% block opengraph %} {%- if metaImage %} {%- endif %} {%- if metaImage %} {% else %} {%- endif %} {% endblock %} {% block endmeta %}{% endblock %} {% block content %}{% endblock %} {% block scripts %}{% endblock %}