diff options
Diffstat (limited to 'templates/blogpost.html')
| -rw-r--r-- | templates/blogpost.html | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/blogpost.html b/templates/blogpost.html index f5b1ff1..16f908e 100644 --- a/templates/blogpost.html +++ b/templates/blogpost.html @@ -7,7 +7,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/style.css"> <link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico"> - <title>Blog / Loading... • altaf-creator</title> + <title>{[{title}]} • altaf-creator</title> <link rel="stylesheet" href="/packages/fontawesome-free-7.2.0-web/css/all.css"> <script src="/packages/markdown-it-14.1.0/dist/markdown-it.js" type="module"></script> <style> @@ -18,8 +18,7 @@ </head> -<body onload="blog(getUrlVars()['post'])"> - <script defer src="/scripts/blog.js"></script> +<body onload="addNodes()"> <script defer src="/scripts/scroll.js"></script> <script defer src="/scripts/onload.js"></script> <div class="floating-nav-container"> @@ -55,10 +54,7 @@ </div> </div> </section> - <div id="content"> - <h1>Hello, world!</h1> - <p>i'm exhausted.</p> - </div> + {[{content}]} </body> </html> |
