Fix gravatar hovercards, and add trade_offer image generation with playwright, for use with opengraph tags on trade_offer_detal.html

This commit is contained in:
badblocks 2025-03-20 23:59:22 -07:00
parent 4c0db9f842
commit f3a1366269
16 changed files with 372 additions and 123 deletions

View file

@ -56,6 +56,7 @@ INSTALLED_APPS = [
"cards",
"home",
"trades.apps.TradesConfig",
"meta",
#"silk",
]
@ -67,6 +68,11 @@ SILKY_META = True
TAILWIND_APP_NAME = 'theme'
META_SITE_NAME = 'PKMN Trade Club'
META_SITE_PROTOCOL = 'https'
META_USE_SITES = True
META_IMAGE_URL = 'https://pkmntrade.club/'
# https://docs.djangoproject.com/en/dev/ref/settings/#middleware
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
@ -299,6 +305,6 @@ else:
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.db.DatabaseCache",
"LOCATION": "site-cache",
"LOCATION": "django_cache",
}
}