Update blog layout
This commit is contained in:
37
templates/about.html
Normal file
37
templates/about.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>About Me - Quiet's Blog</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="blog-header">
|
||||
<h1 class="blog-title">Quiet's Blog</h1>
|
||||
<p class="blog-subtitle">Where I share thoughts, projects, and discoveries</p>
|
||||
</header>
|
||||
|
||||
<nav class="blog-nav">
|
||||
<a href="index.html" class="nav-link">Home</a>
|
||||
<a href="posts.html" class="nav-link">Posts</a>
|
||||
<a href="about.html" class="nav-link active">About</a>
|
||||
</nav>
|
||||
|
||||
<main class="blog-content">
|
||||
<article class="post-card">
|
||||
<h2>{{title}}</h2>
|
||||
<p class="post-date">{{date}}</p>
|
||||
<div class="post-content">
|
||||
{{content}}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<footer class="blog-footer">
|
||||
<p>© 2026 Quiet | Built with passion and code</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
41
templates/index.html
Normal file
41
templates/index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Quiet's Blog</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="blog-header">
|
||||
<h1 class="blog-title">Quiet's Blog</h1>
|
||||
<p class="blog-subtitle">Where I share thoughts, projects, and discoveries</p>
|
||||
</header>
|
||||
|
||||
<nav class="blog-nav">
|
||||
<a href="#" class="nav-link active">Home</a>
|
||||
<a href="posts.html" class="nav-link">Posts</a>
|
||||
<a href="about.html" class="nav-link">About</a>
|
||||
</nav>
|
||||
|
||||
<main class="blog-content">
|
||||
<section class="hero">
|
||||
<h2>Welcome to My Corner of the Internet</h2>
|
||||
<p>This is my personal space to share what I'm working on, learning, and discovering.</p>
|
||||
</section>
|
||||
|
||||
<section class="latest-posts">
|
||||
<h2>Latest Posts</h2>
|
||||
<div class="post-preview">
|
||||
{{post_cards}}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="blog-footer">
|
||||
<p>© 2026 Quiet | Built with passion and code</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
37
templates/post.html
Normal file
37
templates/post.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{title}} - Quiet's Blog</title>
|
||||
<link rel="stylesheet" href="{{css_path}}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="blog-header">
|
||||
<h1 class="blog-title">Quiet's Blog</h1>
|
||||
<p class="blog-subtitle">Where I share thoughts, projects, and discoveries</p>
|
||||
</header>
|
||||
|
||||
<nav class="blog-nav">
|
||||
<a href="{{root}}index.html" class="nav-link">Home</a>
|
||||
<a href="{{root}}posts.html" class="nav-link">Posts</a>
|
||||
<a href="{{root}}about.html" class="nav-link">About</a>
|
||||
</nav>
|
||||
|
||||
<main class="blog-content">
|
||||
<article class="post-card">
|
||||
<h2>{{title}}</h2>
|
||||
<p class="post-date">{{date}}</p>
|
||||
<div class="post-content">
|
||||
{{content}}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<footer class="blog-footer">
|
||||
<p>© 2026 Quiet | Built with passion and code</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
37
templates/posts.html
Normal file
37
templates/posts.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Quiet's Blog - Posts</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="blog-header">
|
||||
<h1 class="blog-title">Quiet's Blog</h1>
|
||||
<p class="blog-subtitle">Where I share thoughts, projects, and discoveries</p>
|
||||
</header>
|
||||
|
||||
<nav class="blog-nav">
|
||||
<a href="index.html" class="nav-link">Home</a>
|
||||
<a href="posts.html" class="nav-link active">Posts</a>
|
||||
<a href="about.html" class="nav-link">About</a>
|
||||
</nav>
|
||||
|
||||
<main class="blog-content">
|
||||
<h2>All Posts</h2>
|
||||
|
||||
{{daily_section}}
|
||||
|
||||
{{weekly_section}}
|
||||
|
||||
{{posts_section}}
|
||||
</main>
|
||||
|
||||
<footer class="blog-footer">
|
||||
<p>© 2026 Quiet | Built with passion and code</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user