Correct canonical href and hreflang

* Change canonical href to use the source file
* Update hreflang to use production_url
This commit is contained in:
djoate
2019-11-24 17:50:43 -05:00
parent 4bc6e4397a
commit 158ee60161
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
<meta name="msapplication-TileImage" content="/assets/img/favicons/mstile-144x144.png">
<meta name="msapplication-config" content="/assets/img/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="canonical" href="{{ site.production_url }}{{ page.url | replace:'index.html',''}}">
<link rel="canonical" href="{{ site.production_url }}{{ page.src_dir | replace:'index.html',''}}">
{% hreflang %}
<!-- title -->