projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd1e1f
)
gallery.py: Keyword text argument the directory-header crumbs
author
W. Trevor King
<wking@tremily.us>
Thu, 14 Aug 2014 23:23:47 +0000
(16:23 -0700)
committer
W. Trevor King
<wking@tremily.us>
Thu, 14 Aug 2014 23:26:08 +0000
(16:26 -0700)
'Gallery' is the text, not the query, for that link ;).
posts/gallery/gallery.py
patch
|
blob
|
history
diff --git
a/posts/gallery/gallery.py
b/posts/gallery/gallery.py
index 760768fa7d76eb0a966170ae83cbfb97281cdf4f..36346900fd375dafdc912f9bd379a2f4eb684a38 100755
(executable)
--- a/
posts/gallery/gallery.py
+++ b/
posts/gallery/gallery.py
@@
-629,7
+629,7
@@
class CGIGalleryServer (object):
for i,c in enumerate(crumbs):
if i < len(crumbs)-1:
if i == 0:
- links[i] = self._link(
self._base_path,
'Gallery')
+ links[i] = self._link(
path=self._base_path, text=
'Gallery')
else:
relpath = '/'.join(crumbs[1:i+1]) + '/'
fullpath = _os_path.join(self._base_path, relpath)