diff --git a/pages/about-blog.md b/pages/about-blog.md index ace6575..d3a0c44 100644 --- a/pages/about-blog.md +++ b/pages/about-blog.md @@ -1,9 +1,29 @@ --- title: "About this blog" created: "2025-06-26" -date: "2025-06-26" +date: "2025-07-17" slug: "about-blog" -published: false +published: true layout: "page" # tags: --- + +# About This Blog + +This blog exists as a straightforward, no-frills platform to share ideas, code, and reflections on technology without the overhead of typical web frameworks. It is designed to prioritize clarity, performance, and maintainability over bells and whistles. + +## Philosophy + +I build and maintain this site as a personal technical artifact, emphasizing manual control of content and presentation. This approach keeps the process transparent and predictable, avoiding abstraction layers that often obscure or complicate straightforward tasks. + +## Content Approach + +Posts focus on practical topics: programming, systems design, project notes, and occasionally, commentary on software tools and infrastructure. The content is written directly in Markdown, keeping it portable, searchable, and version-controlled. + +## Technology Stack + +The site is powered by a minimal custom engine that parses Markdown on demand, sanitizes output, and renders with lightweight templating. This allows rapid iteration without runtime dependencies or third-party plugins. + +## Why This Matters + +Maintaining a simple, static-driven site reduces security risks, minimizes resource consumption, and increases the longevity of the content. It reflects a deliberate choice to reject complexity and keep infrastructure and workflow lean. diff --git a/posts/2025/05/15-example-blog-post.md b/posts/2025/05/15-example-blog-post.md new file mode 100644 index 0000000..f91c013 --- /dev/null +++ b/posts/2025/05/15-example-blog-post.md @@ -0,0 +1,45 @@ +--- +title: "Example Blog Post" +date: "2025-05-15" +slug: "example-blog-post" +published: true +layout: "blog-post" +tags: + - markdown + - express + - nodejs + - blog-engine + - handlebars + - xss + - gray-matter + - postcss + - code-highlighting + - web-development +--- + +# Welcome to My Blog + +This post serves as a fixture to validate Markdown parsing and layout rendering. It's written in standard `.md`, parsed via `marked`, sanitized for XSS, and passed through a custom layout engine using `express-handlebars`. + +## Markdown Features + +**I chose to use markdown because it's:** + +- Easy to write +- Converts to clean HTML +- Supports **bold**, _italic_, and `inline code` + +## Engine Details + +- Markdown rendered at request time with `gray-matter` + `marked` +- HTML output is sanitized via `xss-clean` middleware +- Layouts are precompiled for performance and cached in memory +- Styling is minimal, composed at build with `postcss-import` + +## Code Example + +Code blocks are highlighted using native `
` tags. Language inference and highlighting are not handled by JavaScript on the client—deliberate decision to avoid runtime bloat.
+
+```js
+console.log("Hello, world!");
+```
diff --git a/posts/2025/05/example.md b/posts/2025/05/example.md
deleted file mode 100644
index 13883b9..0000000
--- a/posts/2025/05/example.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-title: "Example Blog Post"
-date: "2025-05-15"
-author: "Jason Poage"
----
-
-# Welcome to My Blog
-
-This is a sample blog post written in **Markdown**.
-
-## Features
-
-- Easy to write
-- Converts to clean HTML
-- Supports **bold**, *italic*, and `inline code`
-
-## Code Example
-
-```js
-console.log("Hello, world!");
-```
diff --git a/posts/2025/06/25-why-i-dont-use-wordpress.md b/posts/2025/06/25-why-i-dont-use-wordpress.md
index ac1bc76..8ecc09e 100644
--- a/posts/2025/06/25-why-i-dont-use-wordpress.md
+++ b/posts/2025/06/25-why-i-dont-use-wordpress.md
@@ -7,8 +7,6 @@
 tags:
   - nodejs
   - cms
-# customScript: "init-gallery.js"
-# access: "authenticated"
 ---
 
 # Why I Don’t Use CMS Platforms Like WordPress for My Site
diff --git a/posts/2025/07/16-why-i-like-git.md b/posts/2025/07/16-why-i-like-git.md
new file mode 100644
index 0000000..97f8fa4
--- /dev/null
+++ b/posts/2025/07/16-why-i-like-git.md
@@ -0,0 +1,34 @@
+---
+title: "Why I Love Git"
+date: "2025-07-16"
+slug: "why-i-like-git"
+published: true
+layout: "blog-post"
+tags:
+  - git
+  - programming
+  - coding
+  - development
+  - productivity
+  - tools
+---
+
+# Why I Love Git
+
+Ever rewrite your codebase with a fresh idea—confident you were on a better path—only to realize later that you actually liked the old way more?
+
+Maybe it wasn’t perfect. Maybe it was messy, inefficient, hacked together. But now, you're staring down a feature you thought you'd never need again, one you casually deleted in your so-called “superior redesign.” And you wish you could bring it back—not rewrite it, not rebuild it, just… recover it.
+
+**This is why I love Git.**
+
+It’s a time machine. It holds onto the moments when everything broke, when nothing made sense, when your confidence was faking it and your code barely held together—but you committed anyway. Not because it was good. But because it was yours. Because it was hard work. Because it was _progress_.
+
+Sometimes the progress was in the wrong direction. Sometimes the old, "bad" version had something the new, "better" version doesn’t. And the beauty of version control is that you don’t have to mourn the loss. You can go back. You can surgically pull out that one useful part from a bad commit. You can merge old chaos into new clarity.
+
+No code is perfect the first time. The more you learn, the more you look back and cringe. You see old commits and think, _“God, I had no idea what I was doing.”_ You see new commits and think, _“Okay, I’m getting somewhere.”_ And in a few months, you'll look back at those new commits and think, _“Wow, I thought I was hot shit, but I still had no clue.”_
+
+That’s growth.
+
+Git doesn’t forget who you were, and it doesn't hold it against you. It lets you revisit your past self—not to mock them, but to learn from them. To salvage what mattered. To fix what you didn’t know how to fix back then.
+
+It’s not just about source control. It’s about perspective.