Set a theme-color in the template again, so mobile Chrome uses it properly
This commit is contained in:
parent
5cf566251a
commit
dec5ef153b
3 changed files with 5 additions and 12 deletions
|
@ -24,17 +24,7 @@ def manifest(request):
|
|||
'start_url': urljoin(base, start_url),
|
||||
|
||||
'background_color': color(0),
|
||||
'theme_color': color(2),
|
||||
'theme_color': color(10),
|
||||
}
|
||||
|
||||
# icons = FaviconImg.objects.filter(
|
||||
# faviconFK__isFavicon=True,
|
||||
# rel__in=rels,
|
||||
# ).order_by('size')
|
||||
# app['icons'] = [{
|
||||
# 'type': 'image/png',
|
||||
# 'sizes': '{0}x{0}'.format(icon.size),
|
||||
# 'src': urljoin(base, icon.faviconImage.url),
|
||||
# } for icon in icons]
|
||||
|
||||
return JsonResponse(app, content_type='application/manifest+json')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue