links
March 21, 2019 ยท View on GitHub
jekyll site for useful links populated by staticmanapp.
This repo is only compatible with my staticman fork (as of now)
To self host staticman API see this
Setting up
- Add the user whose github token is used while hosting the API as a collaborator to this repo.
- Go to
https://<api url>/v2/connect/{your GitHub username}/{your repository name}to accept collaborator invite. - Generate a unique token (uuid) and open
https://<api url>/v2/encrypt/<unique token> - Save the output from above in
staticman.ymlwithstaticmanTokenkey. - Use the decrypted token in all the entry requests sent as
options[staticman-token]
Adding categories
- Make changes to
_config.ymlundercollections:anddefaults: - Add
<category>.mdto_pages - Edit
_data/navigation.ymlto add categories to nav bar