util/generate-hugo-content.py: write module to content

We need to write the IDSS module to the site content.
This commit is contained in:
Alan Orth 2021-11-11 15:05:18 +02:00
parent 6b2dcc9fc1
commit a5aad2d9a9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ def parseSchema(schema_df):
indexLines.append(f"required: {required}\n")
if controlled_vocab:
indexLines.append(f"vocabulary: '{element_name_safe}.txt'\n")
if module:
indexLines.append(f"module: '{module}'\n")
indexLines.append(f"policy: '{policy}'\n")
## TODO: use some real date...?
# indexLines.append(f"date: '2019-05-04T00:00:00+00:00'\n")