Create json config file & update templates

This commit is contained in:
Nyymix 2025-04-06 16:24:50 +03:00
parent 2f4a23b600
commit c0b47b0739
12 changed files with 80 additions and 63 deletions

View file

@ -65,6 +65,7 @@ TEMPLATES = [
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'gallery.context_processors.site_config',
],
},
},
@ -188,20 +189,6 @@ LOGGING = {
},
}
ABOUT_PAGE_SETTINGS = {
"title": "Muistox gallery",
"description": "Just another wannabe photographer...",
"profile_image": "img/default.png",
"contact_email": "muistox@gallery.invalid",
"bluesky_url": "https://bsky.app/",
"twitter_url": "https://twitter.com/",
"instagram_url": "https://www.instagram.com/",
}
# Import local settings
try: