News for hackers. Stuff that matters.
Re:Text-Only Websites by glaberficken on Thursday June 25, 2020 @11:24AM (#23641770)
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

Re:Text-Only Websites by bachmeier on Thursday June 25, 2020 @03:03PM (#23644243)
One way would be to use the Github API to retrieve all the filenames:

https://stackoverflow.com/questions/25022016/get-all-file-na...

Then use Javascript to create the index page.

Re:Text-Only Websites by glaberficken on Thursday June 25, 2020 @03:26PM (#23644502)
thanks 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