_config.yml & r: add redirects for wikipedia {en,tr}

This commit is contained in:
Aminda Suomalainen 2020-06-23 23:12:59 +03:00
parent 2e2f31a4b1
commit 43e0a7670b
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 32 additions and 0 deletions

View File

@ -44,3 +44,5 @@ ipfsGateway: https://gateway.ipfs.io
# I am not sure how to use this, but I want it to exist anyway # I am not sure how to use this, but I want it to exist anyway
# Remember: `ipfs cid base32 <the usual hash>` # Remember: `ipfs cid base32 <the usual hash>`
ipfsSubdomainGateway: ipfs.dweb.link ipfsSubdomainGateway: ipfs.dweb.link
# this should be simple to use
ipnsSubdomainGateway: ipns.dweb.link

15
r/wikipedia.md Normal file
View File

@ -0,0 +1,15 @@
---
layout: null
permalink: /r/wikipedia.html
redirect_from:
- /r/en.wikipedia.html
- /r/enwikipedia.html
- /r/wikipediaen.html
- /r/wikipedia.en.html
sitemap: false
---
<link rel="canonical" href="https://en.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki">
<script>location="https://en.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki"</script>
<meta http-equiv="refresh" content="0; url=https://en.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki">
<a href="https://en.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki">Click here if you are not redirected.</a>

15
r/wikipediatr.md Normal file
View File

@ -0,0 +1,15 @@
---
layout: null
permalink: /r/wikipediatr.html
redirect_from:
- /r/tr.wikipedia.html
- /r/trwikipedia.html
- /r/wikipediatr.html
- /r/wikipedia.tr.html
sitemap: false
---
<link rel="canonical" href="https://tr.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki">
<script>location="https://tr.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki"</script>
<meta http-equiv="refresh" content="0; url=https://tr.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki">
<a href="https://tr.wikipedia-on-ipfs.org.{{site.ipnsSubdomainGateway}}/wiki">Click here if you are not redirected.</a>