From 28619f769c52d9f87da58cbddda2e00f843f4be2 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 21 Apr 2019 13:19:05 +0300 Subject: [PATCH] Change site.ipfs & site.ipns into site.ipfsGateway This was a lot easier than I thought as I didn't realize I had only used it in one place (according to GitHub search) before #137. Fixes: #138 --- _config.yml | 11 +++++------ pages/browser-extensions.markdown | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index a6d4500..79d95e6 100644 --- a/_config.yml +++ b/_config.yml @@ -32,13 +32,12 @@ include: [PGP, PHP, keybase.txt, robots.txt, avatar.jpeg] avatar: https://ipns.co/ipfs/QmbRqyJteL8qyYefSMgVBWUEKoXRNQL7q61xhcJeoRr35h/250x250.jpg icon: https://ipns.co/ipfs/Qma7jaHDBkGk6aEuJEbbCaqgykUrn1X8XhtZ2nMbrYgVKv/128x128.jpg -# {{site.ipfs}}/IPFSHASHHERE to get ipfs link via gateway. Hopefully future -# proof letting me simply swap the link here instead of changing it -# everywhere in case I will start using it. +# {{site.ipfsGateway}}/ipfs/IPFSHASHHERE to get ipfs link via gateway. +# Hopefully future proof letting me simply swap the link here instead of +# changing it everywhere. # IMPORTANT! When adding content, either add a directory with # `ipfs add -r` OR SINGLE FILE `ipfs add -w file` so a new directory gets # created for the content and when it's used, the filename and type are # remembered which may be helpful with media files or embeds. -ipfs: https://ipns.co/ipfs -# IPNS is also a thing -ipns: https://ipns.co/ipns +# Note: no trailing slash after the URL, only https://domain.tld +ipfsGateway: https://ipns.co diff --git a/pages/browser-extensions.markdown b/pages/browser-extensions.markdown index 8d855fa..b015d2e 100644 --- a/pages/browser-extensions.markdown +++ b/pages/browser-extensions.markdown @@ -139,7 +139,7 @@ you should be seeing DNS cache of Firefox and a lot of `TRR: true`. requesting the fetched content. * [Firefox: Foxy Proxy](https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/) * [Chrome?](https://chrome.google.com/webstore/detail/foxyproxy-standard/gcknhkkoolaabfmlnjonogaaifnjlfnp) - * Onions to Tor, I2P to I2P. [My rules]({{site.ipfs}}/QmQUc6SmBS8jgvceRLjFsVJNy2NrikDotcQVFxHeRwtQRz/foxyproxy.json) + * Onions to Tor, I2P to I2P. [My rules]({{site.ipfsGateway}}/ipfs/QmQUc6SmBS8jgvceRLjFsVJNy2NrikDotcQVFxHeRwtQRz/foxyproxy.json) * [Firefox: Tab Counter](https://addons.mozilla.org/en-US/firefox/addon/tab-counter-webext/) * [Firefox: Lightbeam](https://addons.mozilla.org/en-US/firefox/addon/lightbeam/) * I especially like *nicer dark* with Memrise.