aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-10-12 09:39:50 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-10-12 09:43:39 +0300
commit9cb1b001ae709fc40dc3502f2e7d56178fee4acf (patch)
tree15bf9c7f8f10035c616c13e38fd20003d4cd67fd /templates/index.html
parent873e0766f31dd427f52f0d51477ec71173eed5fa (diff)
Improve stuffHEADmain
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 911992f..b2d09e3 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -6,8 +6,9 @@
<meta name="viewport" content="width=device-width" />
<title>Jan Tuomi</title>
<meta name="description" content="The personal home page of Jan Tuomi" />
+ <link rel="preload" href="static/index.css" as="style">
+ <link rel="preload" href="static/htmx.min.js" as="script">
<link rel="stylesheet" href="static/index.css">
- <script src="static/htmx.min.js"></script>
</head>
<body>
@@ -31,9 +32,12 @@
<div class="boxes">
{% include 'fragments/files_drawer_form.html' %}
</div>
- {% include 'fragments/files_list.html' %}
+ <div id="file-browser">
+ {% include 'fragments/file_browser.html' %}
+ </div>
</main>
</div>
+ <script defer src="static/htmx.min.js"></script>
</body>
</html>