{% if page.canonical is not null %}
{% if page.canonical is not empty %}
<link rel="canonical" href="{{ page.canonical }}" />
{% endif %}