]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/blog/context_processors.py
update copyright years
[sommitrealweird.git] / sommitrealweird / blog / context_processors.py
index e63a85f24b4e4f89cc4a360c8f60790016d730f0..9c203cfcf3103103159eace676a744493c2e9603 100644 (file)
@@ -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):]