terraform
terraform copied to clipboard
Can write plugins?
Hi there,
I love harp.js, and I use it for all my static sites, including my blog. I recently got into a distributed file system called IPFS, and I am experimenting with distributing my site on their platform as well. This would (unfortunately) require that all the links on my site be relative.
I would like to write a plugin for Terraform (I think this is the appropriate spot?) to automatically convert all internal links to relative. Is this kind of thing supported?
Thanks, Isaac
We need to solve this problem somehow. It comes up from time to time. I was thinking a helper function would be the way to go then you can choose during the compile process if you want relative or absolute urls. Open to ideas here.