mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-25 16:18:19 +01:00
util/generate-hugo-content.py: minor re-org
We get the cluster first since clusters encompass modules.
This commit is contained in:
parent
fd3be3163f
commit
14edfab18b
@ -40,11 +40,12 @@ def parseSchema(schema_df):
|
||||
# Strip just in case
|
||||
element_name = element_name.strip()
|
||||
|
||||
# For example Assurance, Certification, Core, Impact, etc
|
||||
module = row["idss schema module"].capitalize()
|
||||
# For example Certifying Body, FSC audit, Certificate, etc
|
||||
cluster = row["idss element cluster"].capitalize()
|
||||
|
||||
# For example Assurance, Certification, Core, Impact, etc
|
||||
module = row["idss schema module"].capitalize()
|
||||
|
||||
# Generate a URL-safe version of the element name, though we need to
|
||||
# think about what field we want to use here.
|
||||
element_name_safe = cluster.replace(" ", "-").lower() + "-" + element_name
|
||||
|
Loading…
Reference in New Issue
Block a user