Getting Started with This Blog

Welcome! This page explains how to write and publish new blog posts on this site.

How to Write a New Post

  1. Copy the template: Copy blog/posts/template.html to a new file, e.g. blog/posts/my-post.html.
  2. Fill in the content:
    • Replace TITLE in the <title> tag and <h1> with your post title.
    • Replace DATE with the publication date (e.g. June 5, 2026).
    • Write your content inside the <div class="post-body"> section.
  3. Link it on the blog index: Open blog/index.html and 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>
  4. 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/).

All Posts