Expand site settings and add footer

This commit is contained in:
Mouse Reeve
2020-12-11 12:31:02 -08:00
parent b33ea40da2
commit 117d243577
4 changed files with 56 additions and 2 deletions

View File

@ -0,0 +1,8 @@
''' customize the info available in context for rendering templates '''
from bookwyrm import models
def site_settings(request):
''' include the custom info about the site '''
return {
'site': models.SiteSettings.objects.get()
}