This commit is contained in:
kamkow1
2025-06-18 00:44:18 +02:00
parent 9bb248ee03
commit 5db22711be
11 changed files with 286 additions and 25 deletions

22
tmpls/template-blog.html Normal file
View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><#BLOG_POST_TITLE></title>
<link rel="stylesheet" href="/simple.min.css" />
</head>
<body>
<div id="content"></div>
<footer>
<a href="/">HOME</a>
</footer>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
document.getElementById("content").innerHTML = marked.parse(`<#BLOG_POST_MARKDOWN>`);
</script>
<#if HOTRELOAD>
<script src="/hotreload.js"></script>
<#endif>
</body>
</html>