Fix site_path tag
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
""" customize the info available in context for rendering templates """
|
||||
from bookwyrm import models
|
||||
from bookwyrm.settings import DOMAIN
|
||||
|
||||
|
||||
def site_settings(request): # pylint: disable=unused-argument
|
||||
@ -7,4 +8,5 @@ def site_settings(request): # pylint: disable=unused-argument
|
||||
return {
|
||||
"site": models.SiteSettings.objects.get(),
|
||||
"active_announcements": models.Announcement.active_announcements(),
|
||||
"site_path": "https://%s" % DOMAIN,
|
||||
}
|
||||
|
Reference in New Issue
Block a user