aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/_includes/header.html2
-rw-r--r--site/_layouts/examples.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/site/_includes/header.html b/site/_includes/header.html
index 6e91a1f42..8fa50f395 100644
--- a/site/_includes/header.html
+++ b/site/_includes/header.html
@@ -15,6 +15,8 @@
{%- endif -%}
</title>
+<link rel="canonical" href="{{ site.url | append: page.url }}">
+
{% include stylesheet.html %}
{% include favicons.html %}
{% include social.html %}
diff --git a/site/_layouts/examples.html b/site/_layouts/examples.html
index 28aa0736c..c37dd923d 100644
--- a/site/_layouts/examples.html
+++ b/site/_layouts/examples.html
@@ -8,6 +8,8 @@
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
<title>{{ page.title | smartify }} ยท {{ site.title | smartify }}</title>
+ <link rel="canonical" href="{{ site.url | append: page.url }}">
+
{% include stylesheet.html %}
<style>