diff options
author | Alan Pearce | 2024-05-15 09:53:51 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-15 09:53:51 +0200 |
commit | 91836fef16532b72d9fd3edbcbe3844d9c541345 (patch) | |
tree | e1a7e56127373b33d97b2d23fd5b6ae620fb42b5 /frontend/templates | |
parent | 1a5c82e2d08accb6330c4164ab987b87157b10ed (diff) | |
download | searchix-91836fef16532b72d9fd3edbcbe3844d9c541345.tar.lz searchix-91836fef16532b72d9fd3edbcbe3844d9c541345.tar.zst searchix-91836fef16532b72d9fd3edbcbe3844d9c541345.zip |
perf: move scripts to head to enable fetching in parallel
Diffstat (limited to 'frontend/templates')
-rw-r--r-- | frontend/templates/index.gotmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/templates/index.gotmpl b/frontend/templates/index.gotmpl index 8bff09c..6db4cc2 100644 --- a/frontend/templates/index.gotmpl +++ b/frontend/templates/index.gotmpl @@ -6,6 +6,9 @@ <title>Searchix</title> <link href="/static/base.css" rel="stylesheet" /> <link href="/static/style.css" rel="stylesheet" /> + {{ block "js" . }} + {{ end }} + {{ .ExtraHeadHTML }} </head> <body> <header> @@ -33,8 +36,5 @@ Made by <a href="https://alanpearce.eu">Alan Pearce</a>. <a href="https://todo.sr.ht/~alanpearce/searchix">Report issues</a> </footer> - {{ block "js" . }} - {{ end }} - {{ .ExtraBodyHTML }} </body> </html> |