master
Aevann1 2021-08-22 19:55:18 +02:00
parent 7a356f2c3e
commit 7b8711cd21
8 changed files with 43 additions and 43 deletions

View File

@ -98,7 +98,7 @@ def index():
@app.get("/assets/favicon.ico")
def favicon():
return send_file(f"./assets/images/{site_name}/favicon.gif")
return send_file(f"./assets/images/{site_name}/icon.gif")
@app.get("/api")
@auth_desired

View File

@ -829,7 +829,7 @@
<meta name="thumbnail" content="/assets/images/{{'SITE_NAME' | app_config}}/preview.gif">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
{% block title %}
<title>{{'SITE_NAME' | app_config}}</title>
@ -862,12 +862,12 @@
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<!---<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">--->
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
<!---<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">--->
<link rel="manifest" href="/assets/manifest.json">
<link rel="mask-icon" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif" color="#{{'DEFAULT_COLOR' | app_config}}">
<link rel="shortcut icon" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="mask-icon" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif" color="#{{'DEFAULT_COLOR' | app_config}}">
<link rel="shortcut icon" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
<meta name="apple-mobile-web-app-title" content="{{'SITE_NAME' | app_config}}">
<meta name="application-name" content="{{'SITE_NAME' | app_config}}">
<meta name="msapplication-TileColor" content="#{{'DEFAULT_COLOR' | app_config}}">
@ -879,127 +879,127 @@
<link
rel="apple-touch-startup-image"
sizes="320x480"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="640x960"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-icon"
sizes="640x1136"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-icon"
sizes="750x1334"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="768x1004"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="768x1024"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="828x1792"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1024x748"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1024x768"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1125x2436"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1242x2208"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1242x2688"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1334x750"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1536x2008"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1536x2048"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1668x2224"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="1792x828"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2048x1496"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2048x1536"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2048x2732"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2208x1242"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2224x1668"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2436x1125"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2668x1242"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>
<link
rel="apple-touch-startup-image"
sizes="2737x2048"
href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif"
href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif"
/>

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="">
<link rel="icon" type="image/png" href="/assets/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="icon" type="image/png" href="/assets/{{'SITE_NAME' | app_config}}/icon.gif">
<title>503 Service Unavailable</title>
@ -18,7 +18,7 @@
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- iOS webapp -->
<link rel="apple-touch-icon" href="/assets/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="apple-touch-icon" href="/assets/{{'SITE_NAME' | app_config}}/icon.gif">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-title" content="{{'SITE_NAME' | app_config}}">

View File

@ -4,7 +4,7 @@
<div class="container-fluid" style="padding:0;">
<div class="flex-grow-1">
<a {% if v %}href="/"{% else %}href="/logged_out"{% endif %} class="navbar-brand">
<img height="30" src="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<img height="30" src="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
<img src="/assets/images/{{'SITE_NAME' | app_config}}/logo.gif" height="20">
</a>
</div>

View File

@ -47,7 +47,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
<title>{% block pagetitle %}Settings - {{'SITE_NAME' | app_config}}{% endblock %}</title>
<meta property="og:type" content="article" />

View File

@ -9,7 +9,7 @@
<meta name="description" content="">
<meta name="author" content="">
<meta name="thumbnail" content="/assets/images/{{'SITE_NAME' | app_config}}/preview.gif">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
<meta property="og:type" content="article" />
<meta property="og:title" content="{{'SITE_NAME' | app_config}}" />

View File

@ -234,7 +234,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/favicon.gif">
<link rel="icon" type="image/png" href="/assets/images/{{'SITE_NAME' | app_config}}/icon.gif">
{% include "emoji_modal.html" %}
{% include "gif_modal.html" %}