master
Aevann1 2021-12-27 03:11:45 +02:00
parent dcf38c112a
commit 48c9279ea9
6 changed files with 34 additions and 34 deletions

View File

@ -240,7 +240,7 @@ def log_item(id, v):
@app.get("/static/assets/favicon.ico")
def favicon():
return send_file(f"./assets/images/{site_name}/icon.webp?a=200")
return send_file(f"./assets/images/{site_name}/icon.webp?a=4")
@app.get("/api")
@auth_desired

View File

@ -21,7 +21,7 @@
<meta name="thumbnail" content="/static/assets/images/{{'SITE_NAME' | app_config}}/preview.webp?a=3">
<link rel="icon" type="image/png" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3">
<link rel="icon" type="image/png" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4">
{% block title %}
<title>{{'SITE_NAME' | app_config}}</title>
@ -48,10 +48,10 @@
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3">
<link rel="apple-touch-icon" sizes="180x180" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4">
<link rel="manifest" href="/static/assets/manifest.json?a=1">
<link rel="mask-icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3" color="#{{'DEFAULT_COLOR' | app_config}}">
<link rel="shortcut icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3">
<link rel="mask-icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4" color="#{{'DEFAULT_COLOR' | app_config}}">
<link rel="shortcut icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4">
<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}}">
@ -63,127 +63,127 @@
<link
rel="apple-touch-startup-image"
sizes="320x480"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="640x960"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-icon"
sizes="640x1136"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-icon"
sizes="750x1334"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="768x1004"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="768x1024"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="828x1792"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1024x748"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1024x768"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1125x2436"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1242x2208"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1242x2688"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1334x750"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1536x2008"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1536x2048"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1668x2224"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="1792x828"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2048x1496"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2048x1536"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2048x2732"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2208x1242"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2224x1668"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2436x1125"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2668x1242"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
<link
rel="apple-touch-startup-image"
sizes="2737x2048"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4"
>
{% block fixedMobileBarJS %}

View File

@ -8,7 +8,7 @@
<div class="container-fluid" style="padding:0;">
<div class="flex-grow-1">
<a href="/" class="navbar-brand mr-auto">
<img loading="lazy" height="30" src="/static/assets/images/{{'SITE_NAME' | app_config}}/headericon.webp?a=3">
<img loading="lazy" height="30" src="/static/assets/images/{{'SITE_NAME' | app_config}}/headericon.webp?a=4">
{% if "gigachadlife" in request.host %}
<span style="font-weight: bold; font-size: 1.2rem;">GigaChadLife</span>
{% elif 'pcm' not in request.host %}

View File

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

View File

@ -12,7 +12,7 @@
<meta name="description" content="">
<meta name="author" content="">
<meta name="thumbnail" content="/static/assets/images/{{'SITE_NAME' | app_config}}/preview.webp?a=3">
<link rel="icon" type="image/png" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3">
<link rel="icon" type="image/png" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4">
<meta property="og:type" content="article" >
<meta property="og:title" content="{{'SITE_NAME' | app_config}}" >

View File

@ -9,7 +9,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="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=3">
<link rel="icon" type="image/png" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=4">
{% if request.host == 'pcmemes.net' %}
{% set cc='Splash Mountain' %}