You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2015/09/18 16:01:06 UTC

couchdb-www git commit: do not list index.html

Repository: couchdb-www
Updated Branches:
  refs/heads/asf-site 5e011325c -> 3eeb13d9a


do not list index.html


Project: http://git-wip-us.apache.org/repos/asf/couchdb-www/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-www/commit/3eeb13d9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-www/tree/3eeb13d9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-www/diff/3eeb13d9

Branch: refs/heads/asf-site
Commit: 3eeb13d9a6b41ef96387e629afb1185b8928b6c1
Parents: 5e01132
Author: Jan Lehnardt <ja...@apache.org>
Authored: Fri Sep 18 16:01:00 2015 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Fri Sep 18 16:01:00 2015 +0200

----------------------------------------------------------------------
 release-candidate/2.0/index.html | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-www/blob/3eeb13d9/release-candidate/2.0/index.html
----------------------------------------------------------------------
diff --git a/release-candidate/2.0/index.html b/release-candidate/2.0/index.html
index 1d2350b..5b87fa6 100644
--- a/release-candidate/2.0/index.html
+++ b/release-candidate/2.0/index.html
@@ -166,6 +166,10 @@
     }
 
     jQuery.each(files, function(idx, item) {
+      console.log(item);
+      if (item.Key == 'release-candidate/index.html') {
+        return;
+      }
       // strip off the prefix
       item.keyText = item.Key.substring(prefix.length);
       if (item.Type === 'directory') {