name fix salinger-theme

This commit is contained in:
Trent Palmer 2023-08-04 19:21:47 -07:00
parent d6b13dc777
commit 3112ead109

View File

@ -192,6 +192,8 @@ def parse_gitlab_hugo_themes_list():
def get_corrected_url(x): def get_corrected_url(x):
if "neofeed-theme" in x: if "neofeed-theme" in x:
return x.rstrip("/v2") return x.rstrip("/v2")
elif "salinger-theme" in x:
return x.rstrip("/v2")
elif "docuapi" in x: elif "docuapi" in x:
return x.rstrip("/v2") return x.rstrip("/v2")
elif "bilberry-hugo-theme" in x: elif "bilberry-hugo-theme" in x:
@ -240,6 +242,8 @@ def get_corrected_theme_name(x):
return x.rstrip("/v2") return x.rstrip("/v2")
elif "hugo-theme-zen" in x: elif "hugo-theme-zen" in x:
return x.rstrip("/v2") return x.rstrip("/v2")
elif "salinger-theme" in x:
return x.rstrip("/v2")
elif "osprey-delight" in x: elif "osprey-delight" in x:
return x.rstrip("/v5") return x.rstrip("/v5")
elif "bilberry-hugo-theme" in x: elif "bilberry-hugo-theme" in x: