mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-18 06:06:34 +00:00
Better naming of context variable
This commit is contained in:
parent
14c606301c
commit
73fd098068
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ def site_settings(request): # pylint: disable=unused-argument
|
||||||
return {
|
return {
|
||||||
"site": models.SiteSettings.objects.get(),
|
"site": models.SiteSettings.objects.get(),
|
||||||
"active_announcements": models.Announcement.active_announcements(),
|
"active_announcements": models.Announcement.active_announcements(),
|
||||||
"enable_thumbnail_generation": settings.ENABLE_THUMBNAIL_GENERATION,
|
"thumbnail_generation_enabled": settings.ENABLE_THUMBNAIL_GENERATION,
|
||||||
"media_full_url": settings.MEDIA_FULL_URL,
|
"media_full_url": settings.MEDIA_FULL_URL,
|
||||||
"preview_images_enabled": settings.ENABLE_PREVIEW_IMAGES,
|
"preview_images_enabled": settings.ENABLE_PREVIEW_IMAGES,
|
||||||
"request_protocol": request_protocol,
|
"request_protocol": request_protocol,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
>
|
>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{% if enable_thumbnail_generation %}
|
{% if thumbnail_generation_enabled %}
|
||||||
|
|
||||||
{% if size_mobile %}
|
{% if size_mobile %}
|
||||||
<source
|
<source
|
||||||
|
|
Loading…
Reference in a new issue