fix: Update check for project images to correctly display
All checks were successful
Build Docker / BuildImage (push) Successful in 45s
All checks were successful
Build Docker / BuildImage (push) Successful in 45s
This commit is contained in:
parent
867583d30c
commit
9881584cdb
@ -411,7 +411,10 @@ def index():
|
|||||||
pageNum += 1
|
pageNum += 1
|
||||||
|
|
||||||
for project in projects:
|
for project in projects:
|
||||||
if project["avatar_url"] == "https://git.woodburn.au/":
|
if (
|
||||||
|
project["avatar_url"] == "https://git.woodburn.au/"
|
||||||
|
or project["avatar_url"] == ""
|
||||||
|
):
|
||||||
project["avatar_url"] = "/favicon.png"
|
project["avatar_url"] = "/favicon.png"
|
||||||
project["name"] = project["name"].replace("_", " ").replace("-", " ")
|
project["name"] = project["name"].replace("_", " ").replace("-", " ")
|
||||||
# Sort by last updated
|
# Sort by last updated
|
||||||
|
Loading…
Reference in New Issue
Block a user