chg: [mkdocs] fix the title page generation

This commit is contained in:
Alexandre Dulaunoy 2024-01-01 19:32:08 +01:00
parent 63bdedff47
commit 6e731d38fd
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -42,7 +42,7 @@ for f in galaxies_fnames:
cluster = json.load(fr)
cluster_filename = f.split('.')[0]
index_output += f'- [{cluster["name"]}](./{cluster_filename}/index.md)\n'
galaxy_output[cluster_filename] = "---"
galaxy_output[cluster_filename] = "---\n"
galaxy_output[cluster_filename] += f'title: {cluster["name"]}\n'
meta_description = cluster["description"].replace("\"", "-")
galaxy_output[cluster_filename] += f'description: {meta_description}\n'