mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-17 20:37:04 +01:00
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:
parent
6b2dcc9fc1
commit
a5aad2d9a9
@ -126,6 +126,8 @@ def parseSchema(schema_df):
|
|||||||
indexLines.append(f"required: {required}\n")
|
indexLines.append(f"required: {required}\n")
|
||||||
if controlled_vocab:
|
if controlled_vocab:
|
||||||
indexLines.append(f"vocabulary: '{element_name_safe}.txt'\n")
|
indexLines.append(f"vocabulary: '{element_name_safe}.txt'\n")
|
||||||
|
if module:
|
||||||
|
indexLines.append(f"module: '{module}'\n")
|
||||||
indexLines.append(f"policy: '{policy}'\n")
|
indexLines.append(f"policy: '{policy}'\n")
|
||||||
## TODO: use some real date...?
|
## TODO: use some real date...?
|
||||||
# indexLines.append(f"date: '2019-05-04T00:00:00+00:00'\n")
|
# indexLines.append(f"date: '2019-05-04T00:00:00+00:00'\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user