reenable unicef-inventory

This commit is contained in:
Trent Palmer 2023-05-04 01:45:55 -07:00
parent 6b3bc3120e
commit 4f184ad080
1 changed files with 7 additions and 7 deletions

View File

@ -109,13 +109,13 @@ def get_hugo_themes_list():
alexa-portfolio, hugo-theme-ladder malformed themes.toml
"""
if "alexa-portfolio" not in x and "hugo-theme-ladder" not in x:
if "inventory-hugo-theme" not in x:
if x[0:10] == "gitlab.com" or x[0:10] == "github.com":
if x.lower() not in lower_case_themes_list:
if x[-1] == " " and "termishTheme" in x:
x = x[0:-1]
THEMESLIST.append(x)
lower_case_themes_list.append(x.lower())
# if "inventory-hugo-theme" not in x:
if x[0:10] == "gitlab.com" or x[0:10] == "github.com":
if x.lower() not in lower_case_themes_list:
if x[-1] == " " and "termishTheme" in x:
x = x[0:-1]
THEMESLIST.append(x)
lower_case_themes_list.append(x.lower())
print(response.status_code, get_hugo_themes_list.__name__)