3 ms·
wow, I love your solution using github even if you want to migrate of github down the line its still all Jekyll +plugins underneath Do you know if there is a w
by glaberficken 6y ago
wow, I love your solution using github
even if you want to migrate of github down the line its still all Jekyll +plugins underneath
Do you know if there is a way to have an automatic directory index page? (i looked around the gitubpages/Jekyll docs but couldn't find a way at first glance)
i.e. What I mean is I would like to throw a bunch of md files into a folder and have a url that outputs the hyperlinked dir listing
- bachmeier 6y agoOne way would be to use the Github API to retrieve all the filenames: https://stackoverflow.com/questions/25022016/get-all-file-names-from-a-github-repo-through-the-github-api#25023044 https://stackoverflow.com/questions/25022016/get-all-file-na... Then use Javascript to create the index page.
- glaberficken 6y agothanks for the suggestion, but I was looking for a "zero code" solution like parent. i.e. it would use some Jekyll feature that is running behind the scenes meanwhile after some googling this may be it (not tested though) https://cl.mt/blog/github-pages-indexing-directory https://cl.mt/blog/github-pages-indexing-directory