view/html: Move script tag into body and remove type.
authorRicardo Wurmus <rekado@elephly.net>
Fri, 1 May 2020 21:14:01 +0000 (23:14 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Fri, 1 May 2020 21:14:01 +0000 (23:14 +0200)
* mumi/web/view/html.scm (layout): Move script tag into body and
remove unnecessary type attribute.

mumi/web/view/html.scm

index ec495497bcfca15213df23bd545a32ae7b9015a0..40d9048a42c462b27a435a5d437855f36918d021 100644 (file)
                       "Now with even more " (span (@ (class "lambda")) "λ") "! ")
                    (p "This is free software.  Download the "
                       (a (@ (href "https://git.elephly.net/software/mumi.git"))
-                         "source code here") ".")))
-     (script
-      (@ (type "text/javascript")
-         (src "/js/sort-table.js"))))))
+                         "source code here") "."))
+           (script
+            (@ (src "/js/sort-table.js")))))))
 
 (define* (search-form #:key (standalone? #f) (text ""))
   `(form (@ (id "search")