one last favicon fix
This commit is contained in:
parent
75a42af1be
commit
9826caa2f1
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class IndexView(TemplateView):
|
||||||
for link_tag in link_tags:
|
for link_tag in link_tags:
|
||||||
if rel in link_tag.attrs['rel']:
|
if rel in link_tag.attrs['rel']:
|
||||||
href = link_tag.attrs['href']
|
href = link_tag.attrs['href']
|
||||||
if netloc not in href and not (href.startswith("/") or href.startswith("http")):
|
if netloc not in href and not (href.startswith("//") or href.startswith("http")):
|
||||||
image = base_url + (href if href.startswith("/") else f"/{href}")
|
image = base_url + (href if href.startswith("/") else f"/{href}")
|
||||||
else:
|
else:
|
||||||
image = href
|
image = href
|
||||||
|
|
Loading…
Reference in a new issue