feature: Set up templated views and blog support

This commit is contained in:
Keith Solomon
2025-04-20 15:39:22 -05:00
parent 463250eb7b
commit 3fe75e9ad5
20 changed files with 580 additions and 255 deletions

View File

@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Go SSG - Another Blog Post</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/about/">About</a></li>
<li><a href="/">Index</a></li>
<li><a href="/blog/">Blog</a></li>
</ul>
</nav>
</header>
<main>
<article>
<h1>Go SSG - Another Blog Post</h1>
<p><small>2025-04-19</small></p>
<p>
Categories:
<a href="/blog/category/go/">go</a>
,
<a href="/blog/category/anger/">anger</a>
</p>
<h1>Why isn&rsquo;t this working?! 😭</h1>
<p>This is my first Go SSG blog post.</p>
<p>This project is a simple static site generator written in Go. It is designed to be easy to use and extend, allowing you to create a static website quickly and efficiently.</p>
<p>It supports features like:</p>
<ul>
<li>Markdown content</li>
<li>Customizable templates</li>
<li>Simple configuration</li>
</ul>
</article>
</main>
<footer>
<p>&copy; 2025 Keith Solomon - Go SSG</p>
</footer>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Category: Anger</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/about/">About</a></li>
<li><a href="/">Index</a></li>
<li><a href="/blog/">Blog</a></li>
</ul>
</nav>
</header>
<main>
<h1>Category: Anger</h1>
<ul>
<li><a href="/blog/another-blog-post/">Go SSG - Another Blog Post</a><br>A longer summary of the post. Lorem ipsum dolor set amit.</li>
</ul>
</main>
<footer>
<p>&copy; 2025 Keith Solomon - Go SSG</p>
</footer>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Category: Go</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/about/">About</a></li>
<li><a href="/">Index</a></li>
<li><a href="/blog/">Blog</a></li>
</ul>
</nav>
</header>
<main>
<h1>Category: Go</h1>
<ul>
<li><a href="/blog/another-blog-post/">Go SSG - Another Blog Post</a><br>A longer summary of the post. Lorem ipsum dolor set amit.</li>
<li><a href="/blog/my-first-blog-post/">Go SSG - My First Blog Post</a><br>A short summary of the post.</li>
</ul>
</main>
<footer>
<p>&copy; 2025 Keith Solomon - Go SSG</p>
</footer>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Category: Progrmming</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/about/">About</a></li>
<li><a href="/">Index</a></li>
<li><a href="/blog/">Blog</a></li>
</ul>
</nav>
</header>
<main>
<h1>Category: Progrmming</h1>
<ul>
<li><a href="/blog/my-first-blog-post/">Go SSG - My First Blog Post</a><br>A short summary of the post.</li>
</ul>
</main>
<footer>
<p>&copy; 2025 Keith Solomon - Go SSG</p>
</footer>
</body>
</html>

View File

@@ -1,50 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Go SSG - Blog</title>
<title>Blog Index</title>
</head>
<body>
<header>
<nav>
<ul>
<header>
<nav>
<ul>
<li><a href="/about/">About</a></li>
<li><a href="/">Index</a></li>
<li><a href="/blog/">Blog</a></li>
</ul>
</nav>
</header>
</ul>
</nav>
</header>
<main>
<h1>Blog Index</h1>
<ul>
<li><a href="/blog/another-blog-post/">Go SSG - Another Blog Post</a><br>A longer summary of the post. Lorem ipsum dolor set amit.</li>
<li><a href="/blog/my-first-blog-post/">Go SSG - My First Blog Post</a><br>A short summary of the post.</li>
</ul>
</main>
<section>
<h2>Blog Posts</h2>
<ul>
<li>
<a href="/blog/my-first-blog-post/">Go SSG - My First Blog Post</a>
<small>2025-04-19</small><br>
A short summary of the post.
</li>
</ul>
</section>
</main>
<footer>
<p>&copy; 2025 Keith Solomon - Go SSG</p>
</footer>
<footer>
<p>&copy; 2025 Keith Solomon</p>
</footer>
</body>
</html>

View File

@@ -1,40 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Go SSG - My First Blog Post</title>
<meta name="description" content="A short summary of the post.">
</head>
<body>
<header>
<nav>
<ul>
<header>
<nav>
<ul>
<li><a href="/about/">About</a></li>
<li><a href="/">Index</a></li>
<li><a href="/blog/">Blog</a></li>
</ul>
</nav>
</header>
</ul>
</nav>
</header>
<main>
<small>Published: 2025-04-19</small>
<h1><em>Tap Tap Tap</em> Is this thing on?</h1>
<article>
<h1>Go SSG - My First Blog Post</h1>
<p><small>2025-04-19</small></p>
<p>This is my first blog post!</p>
<p>
Categories:
<a href="/blog/category/progrmming/">progrmming</a>
,
<a href="/blog/category/go/">go</a>
</p>
<h1><em>Tap Tap Tap</em> Is this thing on?</h1>
</main>
<p>This is my first Go SSG blog post.</p>
<p>This project is a simple static site generator written in Go. It is designed to be easy to use and extend, allowing you to create a static website quickly and efficiently.</p>
<p>It supports features like:</p>
<ul>
<li>Markdown content</li>
<li>Customizable templates</li>
<li>Simple configuration</li>
</ul>
</article>
</main>
<footer>
<p>&copy; 2025 Keith Solomon - Go SSG</p>
</footer>
<footer>
<p>&copy; 2025 Keith Solomon</p>
</footer>
</body>
</html>