Change static assets to /etc/*

This commit is contained in:
kamkow1
2025-06-22 15:34:48 +02:00
parent 5ee77b4628
commit 68dcc80d1c
5 changed files with 10 additions and 9 deletions

View File

@ -26,6 +26,7 @@ int main(int argc, char ** argv)
"./timer.c",
"./timer.h",
"./CONFIG.h",
"./locked.h",
"./mongoose.o",
"./gpp1",

View File

@ -3,7 +3,7 @@
<head>
<title>Blog</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="/simple.css" />
<link rel="stylesheet" href="/etc/simple.css" />
</head>
<body>
<h1>Blog posts</h1>
@ -23,7 +23,7 @@
</footer>
<#ifdef HOTRELOAD>
<script src="/hotreload.js"></script>
<script src="/etc/hotreload.js"></script>
<#endif>
</body>
</html>

View File

@ -3,7 +3,7 @@
<head>
<title>Kamil's personal website</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="/simple.css" />
<link rel="stylesheet" href="/etc/simple.css" />
</head>
<body>
<h1>Kamil's personal website</h1>
@ -53,7 +53,7 @@
</ul>
</section>
<section>
<img src="/me.jpg" alt="literally me" />
<img src="/etc/me.jpg" alt="literally me" />
</section>
<footer>
<div style="float: left;">
@ -64,7 +64,7 @@
</footer>
<#ifdef HOTRELOAD>
<script src="/hotreload.js"></script>
<script src="/etc/hotreload.js"></script>
<#endif>
</body>
</html>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>404 - Page not found</title>
<link rel="stylesheet" href="/simple.css" />
<link rel="stylesheet" href="/etc/simple.css" />
</head>
<body>
<h1>The page you were looking for doesn't exist!</h1>
@ -18,7 +18,7 @@
</footer>
<#ifdef HOTRELOAD>
<script src="/hotreload.js"></script>
<script src="/etc/hotreload.js"></script>
<#endif>
</body>
</html>

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title><#BLOG_POST_TITLE></title>
<link rel="stylesheet" href="/simple.css" />
<link rel="stylesheet" href="/etc/simple.css" />
</head>
<body>
<div id="content"></div>
@ -20,7 +20,7 @@
</script>
<#ifdef HOTRELOAD>
<script src="/hotreload.js"></script>
<script src="/etc/hotreload.js"></script>
<#endif>
</body>
</html>