diff options
author | Sasivarnan R <sasivarnan@users.noreply.github.com> | 2016-07-03 20:32:26 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-08-19 18:44:25 +0300 |
commit | e1ac51f3f06dff5223da9ad70304cb540195c865 (patch) | |
tree | 4291eb12112fd91acab47ea43234153062856aba /layouts | |
parent | 6fe77b41417074f6e3de72af3c33082a537b033b (diff) |
Add permalink as canonical link in head
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4640323..9d10c3a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,6 +15,7 @@ <link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> <link href="{{ .RSSlink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ end }} + <link rel="canonical" href="{{ .Permalink }}"/> <link rel="icon" href="{{ .Site.BaseURL }}favicon.ico"> <link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.png" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css"> |