Skip to content

Latest commit

 

History

History
75 lines (58 loc) · 2.41 KB

File metadata and controls

75 lines (58 loc) · 2.41 KB

Nebula Changelog

Static changelog blog for nebula.gg, powered by GitHub Pages.

Adding a New Post

  1. Create a markdown file in posts/ named YYYY-MM-DD-slug.md:
---
title: Your Post Title
date: 2026-02-20T12:00:00.000Z
image: https://example.com/featured-image.jpg
tags: [changelog, feature]
excerpt: A one-line summary that appears on the index page.
---

Your post body in markdown here.
  1. Add an entry to posts/index.json:
{
  "slug": "your-slug",
  "file": "2026-02-20-your-slug.md",
  "title": "Your Post Title",
  "date": "2026-02-20T12:00:00.000Z",
  "image": "https://example.com/featured-image.jpg",
  "excerpt": "A one-line summary that appears on the index page.",
  "tags": ["changelog", "feature"]
}
  1. Push to main -- GitHub Pages deploys automatically.

Scheduling Posts

Posts with a future date are automatically hidden from the index and inaccessible on the post page until their date has passed. This lets you merge posts ahead of time and have them appear on schedule.

Note: Since this is a static site, the "publish time" is checked client-side when a visitor loads the page. There's no server-side gate.

Frontmatter Fields

Field Required Description
title Yes Post title
date Yes ISO 8601 date (used for sort + schedule)
image No Featured image URL (16:9 recommended)
tags No Array of tag strings
excerpt No Short summary for index page cards

Project Structure

nebula-changelog/
  index.html          # Main listing page
  post.html           # Individual post renderer
  assets/
    style.css         # Dark theme styles
    app.js            # Client-side rendering logic
    logo.svg          # Nebula logo
    favicon.svg       # Browser tab icon
  posts/
    index.json        # Post manifest (source of truth for index)
    YYYY-MM-DD-slug.md # Post files

Tech Stack

  • Pure HTML/CSS/JS -- no build step, no frameworks
  • marked.js for markdown rendering (loaded via CDN)
  • Inter font via Google Fonts
  • GitHub Pages for hosting