X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/00841ead95c71fd168213f276dd10c717b7bdb00..bba5754a7f6971f4eedd2d4faa74e7ad89de8586:/sommitrealweird/blog/context_processors.py 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):]