Added a way to display the icon as part of the sitename

This commit is contained in:
Slatian
2023-12-29 02:37:22 +01:00
parent cd7a7fbe05
commit 96207f3960
3 changed files with 14 additions and 1 deletions

View File

@ -24,7 +24,11 @@
<body>
<header>
<nav>
<a href="{{ extra.base_url }}" class="sitename">{{extra.site_name|default(value="echoip")}}</a>
<a href="{{ extra.base_url }}" class="sitename">
{%- if extra.display_icon -%}
<img src="{{extra.display_icon}}" alt="">
{%- endif -%}
{{extra.site_name|default(value="echoip")}}</a>
<form class="search" method="GET" action="{{ extra.base_url }}">
<input type="search" name="query" autocomplete="on" maxlength="260"
title="Search for an IP-Adress, Domain-Name, or ASN."