exclude inventory-hugo-theme malformed theme.toml

This commit is contained in:
Trent Palmer 2022-09-28 12:29:57 -07:00
parent 33442ba410
commit 8414ef5d42

View File

@ -103,9 +103,11 @@ def get_hugo_themes_list():
for x in response.text.splitlines():
if "wowchemy-hugo-themes" not in x:
"""
inventory-hugo-theme,
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: