Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit 9856b89

Browse files
lideldaviddias
authored andcommitted
feat: add rel="canonical" link tag
This is a neat SEO optimization: search engines will choose one URL as the canonical version and crawl that, and all other URLs will be considered duplicate URLs and crawled less often. In our case all versions hosted from /ipns/blog.ipfs.io/* at public gateways will be marked as duplicate and merged adding SEO juice to the canonical URL. More: https://support.google.com/webmasters/answer/139066?hl=en
1 parent 5d0ffb9 commit 9856b89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

layouts/partials/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<link rel="stylesheet" href="/highlight/github-gist.css" />
3030
<link rel="stylesheet" href="/asciinema/asciinema-player.css" />
3131

32+
<link rel="canonical" href="{{ .Permalink }}" />
3233
<link rel="alternate feed" href="/index.xml" type="application/rss+xml" />
3334

3435
<script src="/asciinema/asciinema-player.js"></script>

0 commit comments

Comments
 (0)