From cdb6202486c65fa84b7a92c6287d4c84abdd212d Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Wed, 26 Jun 2024 18:21:23 +0100 Subject: [PATCH] move assets --- script.py | 2 +- .../Montserrat-VariableFont_wght.ttf | Bin static/iologo.svg | 95 ++++++++++++++++++ templates/index.html | 91 +++++++++-------- 4 files changed, 143 insertions(+), 45 deletions(-) rename {templates => static}/Montserrat-VariableFont_wght.ttf (100%) create mode 100644 static/iologo.svg diff --git a/script.py b/script.py index 217ee60..13779ae 100644 --- a/script.py +++ b/script.py @@ -141,7 +141,7 @@ def load_media(region=None, override=None): print("region is not defined, just do something!") region=0 - foldercount = len(os.listdir(MEDIA_FOLDER)) + foldercount = len(os.listdir(MEDIA_FOLDER)) - 1 print(foldercount) if(foldercount < region): diff --git a/templates/Montserrat-VariableFont_wght.ttf b/static/Montserrat-VariableFont_wght.ttf similarity index 100% rename from templates/Montserrat-VariableFont_wght.ttf rename to static/Montserrat-VariableFont_wght.ttf diff --git a/static/iologo.svg b/static/iologo.svg new file mode 100644 index 0000000..041b01b --- /dev/null +++ b/static/iologo.svg @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/templates/index.html b/templates/index.html index 5322f40..ecc9d3a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,9 +8,10 @@