undo fix alexa-portfolio bad theme.toml

This commit is contained in:
2025-11-13 23:41:37 -08:00
parent 351b447c3f
commit 43734d8621

View File

@@ -105,10 +105,10 @@ def get_hugo_themes_list():
for x in response.text.splitlines(): for x in response.text.splitlines():
if "wowchemy-hugo-themes" not in x and "hugo-theme-ladder" not in x: if "wowchemy-hugo-themes" not in x and "hugo-theme-ladder" not in x:
""" """
digio-theme, alexa-portfolio, hugo-theme-ladder, hermit-V2 malformed themes.toml digio-theme, hugo-theme-ladder, hermit-V2 malformed themes.toml
""" """
if "HugoBlox" not in x and "digio-theme" not in x: if "HugoBlox" not in x and "digio-theme" not in x:
if "alexa-portfolio" not in x and "hermit-V2" not in x: if "hermit-V2" not in x:
if x[0:10] == "gitlab.com" or x[0:10] == "github.com": if x[0:10] == "gitlab.com" or x[0:10] == "github.com":
if x.lower() not in lower_case_themes_list: if x.lower() not in lower_case_themes_list:
if x[-1] == " " and "termishTheme" in x: if x[-1] == " " and "termishTheme" in x: