diff --git a/build_site.py b/build_site.py index d9556403684e2f145315c049d9d0fc8e8826d0ea..ef592e866a68e57c5ceb751196b34dbf150ff7e1 100644 --- a/build_site.py +++ b/build_site.py @@ -20,7 +20,9 @@ shutil.copytree("static", "public/", dirs_exist_ok=True) # Load projects projects = [] -for filename in os.listdir("templates/projects"): +files = os.listdir("templates/projects") +files.sort() +for filename in files: filepath = os.path.join("templates", "projects", filename) if os.path.isfile(filepath) and filepath.endswith(".json"): # Load file