Expand site settings and add footer
This commit is contained in:
8
bookwyrm/context_processors.py
Normal file
8
bookwyrm/context_processors.py
Normal 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()
|
||||
}
|
Reference in New Issue
Block a user