_config.yml: add ipfs & ipns gateways for future

This commit is contained in:
Aminda Suomalainen 2018-09-27 20:18:02 +03:00
parent 3ea8a0672f
commit 069b10066f
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -27,3 +27,16 @@ plugins:
sitemap: sitemap:
file: "/sitemap.xml" file: "/sitemap.xml"
include: [PGP, PHP, keybase.txt, robots.txt] include: [PGP, PHP, keybase.txt, robots.txt]
# {{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.
# NOTE! I didn't get image embedding working with this, but the theory
# seems sound.
# 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://cloudflare-ipfs.com/ipfs
# IPNS is also a thing
ipns: https://cloudflare-ipfs.com/ipns