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