diff --git a/compile.sh b/compile.sh index 4f67219..2be054f 100755 --- a/compile.sh +++ b/compile.sh @@ -13,3 +13,5 @@ for d in ./articles/*; do done ./tools/feed_generator.py ./articles/ https://mjestecko.neocities.org/ > ./html/feed.xml + +./tools/track_listing_generator.py html/tracks > html/tracks.html diff --git a/tools/page_shares.py b/tools/page_shares.py index 0af4d71..f4b0fe6 100644 --- a/tools/page_shares.py +++ b/tools/page_shares.py @@ -9,6 +9,7 @@ HEAD_EMBED = """
diff --git a/tools/track_listing_generator.py b/tools/track_listing_generator.py new file mode 100755 index 0000000..4f086fb --- /dev/null +++ b/tools/track_listing_generator.py @@ -0,0 +1,80 @@ +#!/usr/bin/python3 + +from sys import argv, exit +from os import walk, path + +if len(argv) <= 1: + print("No directory was supplied") + exit(-1) + +page = """ + + + +.xm module tracks of my own. Btw, they're playable in browser :3
+Note that some files are rendered incorrectly.
+{f}