]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/blog/context_processors.py
Stop ReST from dropping the primary title if it's the first title in the document.
[sommitrealweird.git] / sommitrealweird / blog / context_processors.py
index 14a921609d37a8b65a022b76d7d2cc37eb5fd18f..9c203cfcf3103103159eace676a744493c2e9603 100644 (file)
@@ -2,10 +2,15 @@ from django.conf import settings
 from blog.models import BlogEntry, BlogSection
 import re
 
 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:
 def content_breadcrumb(request):
     path = request.path
     if path[0:len(settings.BLOG_ROOT)] == settings.BLOG_ROOT:
-        breadcrumb = [{'url': u'/', 'title': u'/'}, {'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):]
 
 
         path = path[len(settings.BLOG_ROOT):]