mirror of
https://github.com/TrentSPalmer/hugo_themes_report.git
synced 2024-12-04 16:41:31 -08:00
exclude inventory-hugo-theme malformed theme.toml
This commit is contained in:
parent
33442ba410
commit
8414ef5d42
@ -103,15 +103,17 @@ def get_hugo_themes_list():
|
|||||||
for x in response.text.splitlines():
|
for x in response.text.splitlines():
|
||||||
if "wowchemy-hugo-themes" not in x:
|
if "wowchemy-hugo-themes" not in x:
|
||||||
"""
|
"""
|
||||||
|
inventory-hugo-theme,
|
||||||
alexa-portfolio, hugo-theme-ladder malformed themes.toml
|
alexa-portfolio, hugo-theme-ladder malformed themes.toml
|
||||||
"""
|
"""
|
||||||
if "alexa-portfolio" not in x and "hugo-theme-ladder" not in x:
|
if "alexa-portfolio" not in x and "hugo-theme-ladder" not in x:
|
||||||
if x[0:10] == "gitlab.com" or x[0:10] == "github.com":
|
if "inventory-hugo-theme" not in x:
|
||||||
if x.lower() not in lower_case_themes_list:
|
if x[0:10] == "gitlab.com" or x[0:10] == "github.com":
|
||||||
if x[-1] == " " and "termishTheme" in x:
|
if x.lower() not in lower_case_themes_list:
|
||||||
x = x[0:-1]
|
if x[-1] == " " and "termishTheme" in x:
|
||||||
THEMESLIST.append(x)
|
x = x[0:-1]
|
||||||
lower_case_themes_list.append(x.lower())
|
THEMESLIST.append(x)
|
||||||
|
lower_case_themes_list.append(x.lower())
|
||||||
|
|
||||||
print(response.status_code, get_hugo_themes_list.__name__)
|
print(response.status_code, get_hugo_themes_list.__name__)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user