From b0686d0a8d3b7f43bd5ec87d184065c2de26b8c4 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 5 Oct 2018 01:23:45 +0200 Subject: [PATCH 1/2] fix: permalinks that work on IPNS Context: https://github.com/ipfs/website/issues/274 --- config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index ae88abc13..149fa4f86 100644 --- a/config.toml +++ b/config.toml @@ -1,9 +1,9 @@ -baseURL = "https://ipfs.io/blog" +baseURL = "https://blog.ipfs.io" relativeURLs = true googleAnalytics = "UA-52930282-2" [params] - domain = "ipfs.io" + domain = "blog.ipfs.io" name = "IPFS Blog" title = "IPFS Blog" description = "A peer-to-peer hypermedia protocol to make the web faster, safer, and more open." From 222c9e22a117ad62ae4e2f94aff8dbd4572e6757 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Sun, 4 Nov 2018 15:23:56 +0100 Subject: [PATCH 2/2] 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 --- layouts/partials/head.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 35bc20160..12b4efb72 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,6 +29,7 @@ +