diff options
-rwxr-xr-x | guix-web | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -131,8 +131,8 @@ (render-json (all-packages-json))) ((GET "package" name) (render-html (view-package name))) - ((GET "weblabels") - (render-html (weblabels))) + ((GET "librejs") + (render-html (librejs))) (_ #f))) (define (all-packages-json) @@ -220,7 +220,6 @@ "versions" "version")))) -(define (weblabels) (main-layout name `((h1 ,name (span (@ (class "badge")) @@ -229,6 +228,8 @@ ,@(map (lambda (p) `(li ,(describe-package p))) packages)))))) + +(define (librejs) (define (weblabel js) `(tr (td |