couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject couchdb-www git commit: do not list index.html
Date Fri, 18 Sep 2015 14:01:06 GMT
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 <jan@apache.org>
Authored: Fri Sep 18 16:01:00 2015 +0200
Committer: Jan Lehnardt <jan@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') {


Mime
View raw message