Closed pau1ie closed 5 years ago
Cheers Pau1ie I'll have a look through the PR tomorrow, it's a bit late now, I'm going to finish off tidying up these BBC Midis I created from VGS a few years ago, then call it a night :-)
FWIW I initially created the script for simple single file hosting, never thinking anyone would find it all that usefull :-)
Merged.
On bbcmicro.co.uk I wanted a branded version of the index page which doesn't display the catalogue of discs. To allow this type of reuse and customisation I:
Split out the javascript into a seperate file
Removed the hard coded directory name 'disks' from the javascript
Added the subdirectory to the disks.json
Removed the directory from the display on the details page
The page works identically, apart from the disc details page which does display the directory. I thought this might be useful, so left this as it was though it would be possible to remove this if necessary.