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.c",
"./timer.h", "./timer.h",
"./CONFIG.h", "./CONFIG.h",
"./locked.h",
"./mongoose.o", "./mongoose.o",
"./gpp1", "./gpp1",

View File

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

View File

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

View File

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

View File

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