This is part of the Porter project. If you are a new contributor, check out our New Contributor Guide. The Porter Contributing Guide also has lots of information about how to interact with the project.
- Add a new file named after the repository under /vanity/code. For example, if the
vanity import path is
get.porter.sh/mixin/stuff
, add a new page/vanity/code/mixin/stuff.md
. - Add the frontmatter and customize it to match the new repository:
--- title: "Stuff Mixin" vanity: "https://github.com/getporter/stuff-mixin" url: "/mixin/stuff/"
cd vanity
hugo serve
open http://localhost:1313
- Try out a URL that you are adding, for example
http://localhost:1313/mixin/stuff
. Verify that it redirects to the correct GitHub repository.