summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-12-26 14:05:37 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2014-12-26 14:05:37 +0000
commit1dd9fbf70a06675a84a5bf7e876bfc7d06055fd1 (patch)
tree66fb87d1aa01abca1295a6c6657c921b1f7fe310
parent4db50dcd84043e086b2d56f33aee7f4998e4062e (diff)
downloadNim-1dd9fbf70a06675a84a5bf7e876bfc7d06055fd1.tar.gz
Fixes official package detection in babelpkglist.
-rw-r--r--web/babelpkglist.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/babelpkglist.nim b/web/babelpkglist.nim
index aeea57a0d..7070f281b 100644
--- a/web/babelpkglist.nim
+++ b/web/babelpkglist.nim
@@ -41,6 +41,7 @@ proc processContent(content: string) =
       dot = if desc.high > 0 and desc[desc.high] in endings: "" else: "."
       listItem = li(a(href=pkgWeb, pkg["name"].str), " ", desc & dot)
     if pkg["url"].str.startsWith("git://github.com/nimrod-code") or
+       pkg["url"].str.startsWith("git://github.com/nim-lang") or
        "official" in pkg["tags"].elems:
       officialCount.inc
       officialList.add listItem & "\n"
@@ -52,14 +53,14 @@ proc processContent(content: string) =
 
   officialPkgListDiv.innerHTML =
     p("There are currently " & $officialCount &
-      " official packages in the Babel package repository.") &
+      " official packages in the Nimble package repository.") &
     ul(officialList)
 
   var unofficialPkgListDiv = document.getElementById("unofficialPkgList")
 
   unofficialPkgListDiv.innerHTML =
     p("There are currently " & $unofficialCount &
-      " unofficial packages in the Babel package repository.") &
+      " unofficial packages in the Nimble package repository.") &
     ul(unofficialList)
 
 proc gotPackageList(apiReply: TData) {.exportc.} =