From 6d7b5db48265a101024fb1bc1aa4a929ffeff0bd Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sun, 1 Jul 2018 14:53:21 +1000 Subject: [PATCH] Restore favicon links in the page --- lemoncurry/jinja2/__init__.py | 3 +++ lemoncurry/jinja2/lemoncurry/layout.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lemoncurry/jinja2/__init__.py b/lemoncurry/jinja2/__init__.py index 705630d..0182a8f 100644 --- a/lemoncurry/jinja2/__init__.py +++ b/lemoncurry/jinja2/__init__.py @@ -7,6 +7,8 @@ from compressor.contrib.jinja2ext import CompressorExtension from django_activeurl.ext.django_jinja import ActiveUrl from entries.kinds import all as entry_kinds +from wellknowns.favicons import icons as favicons + from .ago import ago from .markdown import markdown from ..theme import color as theme_color @@ -27,6 +29,7 @@ def environment(**options): }) env.globals.update({ 'entry_kinds': entry_kinds, + 'favicons': favicons, 'package': load_package_json(), 'settings': settings, 'static': staticfiles_storage.url, diff --git a/lemoncurry/jinja2/lemoncurry/layout.html b/lemoncurry/jinja2/lemoncurry/layout.html index b7af2eb..5754126 100644 --- a/lemoncurry/jinja2/lemoncurry/layout.html +++ b/lemoncurry/jinja2/lemoncurry/layout.html @@ -23,6 +23,9 @@ + {% for i in favicons %} + + {% endfor %}