www: add link rel="canonical".
@@ -11,6 +11,7 @@ | ||
11 | 11 | <meta name="description" content="{{ meta_description }}"> |
12 | 12 | {% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %} |
13 | 13 | <meta name="generator" content="Jekyll v{{ jekyll.version }}"> |
14 | + <link rel="canonical" href="{{ site.url | append: page.url }}"> | |
14 | 15 | |
15 | 16 | <link rel="shortcut icon" href="/favicon.ico"> |
16 | 17 | <link rel="apple-touch-icon" href="/apple-touch-icon.png"> |
@@ -22,9 +23,9 @@ | ||
22 | 23 | <meta property="og:type" content="website"> |
23 | 24 | <meta property="og:description" content="{{ meta_description }}"> |
24 | 25 | {% if page.slug == "home" %} |
25 | - <meta property="og:url" content="{{ site.url }}/"> | |
26 | + <meta property="og:url" content="{{ site.url }}"> | |
26 | 27 | {% else %} |
27 | - <meta property="og:url" content="{{ site.url }}{{ page.url }}"> | |
28 | + <meta property="og:url" content="{{ site.url | append: page.url }}"> | |
28 | 29 | {% endif %} |
29 | 30 | <meta property="og:image" content="{{ site.url | replace: 'https://', 'http://' }}/assets/img/logo-256x256.png"> |
30 | 31 | <meta property="og:image:secure_url" content="{{ site.url }}/assets/img/logo-256x256.png"> |