summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-01 23:14:01 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-01 23:14:01 +0200
commitccf033a8d9ce01f9439473629b4fb5687674026a (patch)
treee838ef72094754ffe3150bbfc0cc53c99569d3ec
parentb7fbe600728c65506695715fa83b02b9e913ca70 (diff)
view/html: Move script tag into body and remove type.
* mumi/web/view/html.scm (layout): Move script tag into body and remove unnecessary type attribute.
-rw-r--r--mumi/web/view/html.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index ec49549..40d9048 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -84,10 +84,9 @@
"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")