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):]