mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 16:57:18 +00:00
chg: [mkdocs] fix the title page generation
This commit is contained in:
parent
63bdedff47
commit
6e731d38fd
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ for f in galaxies_fnames:
|
||||||
cluster = json.load(fr)
|
cluster = json.load(fr)
|
||||||
cluster_filename = f.split('.')[0]
|
cluster_filename = f.split('.')[0]
|
||||||
index_output += f'- [{cluster["name"]}](./{cluster_filename}/index.md)\n'
|
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'
|
galaxy_output[cluster_filename] += f'title: {cluster["name"]}\n'
|
||||||
meta_description = cluster["description"].replace("\"", "-")
|
meta_description = cluster["description"].replace("\"", "-")
|
||||||
galaxy_output[cluster_filename] += f'description: {meta_description}\n'
|
galaxy_output[cluster_filename] += f'description: {meta_description}\n'
|
||||||
|
|
Loading…
Reference in a new issue