mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Move JS to layout HTML for faster loading
Keep images square through JS and not a bug with ::after
This commit is contained in:
parent
ac2e73042e
commit
e9e3706172
7 changed files with 103 additions and 99 deletions
|
@ -3,6 +3,7 @@ Gallery configuration file
|
|||
"""
|
||||
import os
|
||||
import platformdirs
|
||||
import importlib.metadata
|
||||
from dotenv import load_dotenv
|
||||
from yaml import safe_load
|
||||
|
||||
|
@ -41,3 +42,6 @@ MEDIA_FOLDER = os.path.join(user_dir, "media")
|
|||
# Database
|
||||
INSTANCE_DIR = instance_dir
|
||||
MIGRATIONS_DIR = os.path.join(INSTANCE_DIR, "migrations")
|
||||
|
||||
# App
|
||||
APP_VERSION = importlib.metadata.version("OnlyLegs")
|
Loading…
Add table
Add a link
Reference in a new issue