Skip to content

Commit

Permalink
link to lowercase tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jchris committed Mar 24, 2010
1 parent 95d7f15 commit 77a4e73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 3 additions & 2 deletions lists/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ function(head, req) {
link : path.list('post','post-page', {startkey : [row.id]}),
has_tags : post.tags ? true : false,
tags : post.tags ? post.tags.map(function(tag) {
var t = tag.toLowerCase();
return {
tag : tag,
link : path.list("index", "tags", {
descending : true,
reduce : false,
startkey : [tag, {}],
endkey : [tag]
startkey : [t, {}],
endkey : [t]
})
}
}) : []
Expand Down
9 changes: 1 addition & 8 deletions sofa2.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
backport Mustache changes
comments feed
atom comments firehose feed (per post also?)
feed links on index page
js requires in partial
test suite
link code
ability to share link code between client and server
add a name key to the rewriter paths

docform as it's own plugin

prune dead code


ability to share link code between client and server


screens
Expand All @@ -24,9 +20,6 @@ ability to share link code between client and server



laters
tag autocomplete
tag browsing

relaxville
# copy couchapp to sofa ->
Expand Down

0 comments on commit 77a4e73

Please sign in to comment.