projects
/
sommitrealweird.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change blog to Blog in the bread crumb
[sommitrealweird.git]
/
sommitrealweird
/
blog
/
context_processors.py
diff --git
a/sommitrealweird/blog/context_processors.py
b/sommitrealweird/blog/context_processors.py
index 14a921609d37a8b65a022b76d7d2cc37eb5fd18f..bbfc3eae02a2135dc6714e5031a7f22fe53f905e 100644
(file)
--- a/
sommitrealweird/blog/context_processors.py
+++ b/
sommitrealweird/blog/context_processors.py
@@
-5,7
+5,7
@@
import re
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'b
log'},]
+ breadcrumb = [{'url': u'/', 'title': u'
Home'}, {'url': settings.BLOG_ROOT, 'title': u'B
log'},]
path = path[len(settings.BLOG_ROOT):]
path = path[len(settings.BLOG_ROOT):]