X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/00841ead95c71fd168213f276dd10c717b7bdb00..4a9112de5ec927b2140f6b20b4da9073b9256df0:/sommitrealweird/blog/context_processors.py?ds=inline diff --git a/sommitrealweird/blog/context_processors.py b/sommitrealweird/blog/context_processors.py index e63a85f..9c203cf 100644 --- a/sommitrealweird/blog/context_processors.py +++ b/sommitrealweird/blog/context_processors.py @@ -2,10 +2,15 @@ from django.conf import settings from blog.models import BlogEntry, BlogSection import re +def blog_feed(request): + return { + 'BLOG_FEED_ROOT': settings.BLOG_FEED_ROOT, + } + def content_breadcrumb(request): path = request.path if path[0:len(settings.BLOG_ROOT)] == settings.BLOG_ROOT: - breadcrumb = [{'url': u'/', 'title': u'Home'}, {'url': settings.BLOG_ROOT, 'title': u'blog'},] + breadcrumb = [{'url': u'/', 'title': u'Home'}, {'url': settings.BLOG_ROOT, 'title': u'Blog'},] path = path[len(settings.BLOG_ROOT):]