mirror of
https://github.com/TrentSPalmer/hugo_themes_report.git
synced 2024-12-04 08:41:29 -08:00
fix Digital Garden cname conflict
This commit is contained in:
parent
c310d64a56
commit
6b3bc3120e
@ -539,7 +539,6 @@ def parse_themes_toml_for_each_hugo_themes():
|
||||
# (and add a newline afterwards)
|
||||
# because python toml libraries will error out on those
|
||||
theme_name = get_corrected_theme_name(theme.name)
|
||||
print(theme_name)
|
||||
if theme_name in THEMESYAMLTHEMES:
|
||||
theme_toml = yaml.full_load(content)
|
||||
else:
|
||||
@ -622,6 +621,8 @@ def parse_themes_toml_for_each_hugo_themes():
|
||||
else:
|
||||
if theme.cname is not None:
|
||||
theme.cname = None
|
||||
if theme_name == "apvarun/digital-garden-hugo-theme":
|
||||
theme.cname = "Digital Garden Hugo"
|
||||
else:
|
||||
if theme.tags_list is not None:
|
||||
theme.tags_list = None
|
||||
|
Loading…
Reference in New Issue
Block a user