Welcome! This page explains how to write and publish new blog posts on this site.
How to Write a New Post
- Copy the template: Copy
blog/posts/template.htmlto a new file, e.g.blog/posts/my-post.html. - Fill in the content:
- Replace
TITLEin the<title>tag and<h1>with your post title. - Replace
DATEwith the publication date (e.g.June 5, 2026). - Write your content inside the
<div class="post-body">section.
- Replace
- Link it on the blog index: Open
blog/index.htmland add a new<li>entry to the.post-list, following the existing format:<li> <div class="post-date">June 5, 2026</div> <h3 class="post-title"><a href="posts/my-post.html">My Post Title</a></h3> <p class="post-excerpt">A short one-line summary.</p> </li> - Deploy: Push the changes to GitHub Pages — the new post will be live.
Writing Tips
You can use standard HTML tags inside .post-body:
<h2>,<h3>— section headings<p>— paragraphs<ul>,<ol>— lists<code>— inline code<pre><code>— code blocks<blockquote>— quoted text<img src="...">— images<a href="...">— links<strong>and<em>— bold and italic
Place images in blog/images/ and reference them as <img src="../images/your-image.png"> (from a post file in posts/).