NOTE: This repo is not intended to be used as a standalone project! This code is used by the gateway code within go-ipfs. In the long term, once the the gateway is extracted from go-ipfs, the code in this repo will be merged into that gateway package.
When making updates to the directory listing page template, please note the following:
Make your changes to the (human-friendly) source documents in the src directory
Before testing or releasing, make sure to run the build script to update the minified version in the top-level directory:
> npm run build
To get your updates into go-ipfs, you’ll need to do the following:
Cut a new, appropriately versioned release of dir-index-html (don’t forget to bump the version number in package.json)