This site is built with Jekyll and uses a simple, clean design focused on readability. The content is written in Markdown and automatically compiled into web pages. It takes (a lot of) inspiration from stephango.com with some modifications and my own design touch.
Preview: https://pasithea0.github.io/microblog-template/
- Markdown content with support for images, quotes, and lists. Designed to support Obsidian-style fontmatter and attachments
- Auto-generated thumbnails for social media sharing
- Reading time calculation for each post
- Tag-based topic pages
- Responsive design for mobile and desktop
- Static site generation for GitHub Pages
- Ruby (with gem)
- pnpm
- ImageMagick (for thumbnail generation)
-
Install Jekyll and Bundler:
gem install jekyll bundler
-
Install dependencies:
bundle install
-
Install ImageMagick (required for thumbnail generation):
# macOS brew install imagemagick # Ubuntu/Debian sudo apt-get install imagemagick # Windows (using Chocolatey) choco install imagemagick
Start the development server with live reload:
pnpm run devThe site will be available at http://localhost:4000
pnpm run dev- Start development server with live reloadpnpm run build- Build the site for productionpnpm run serve- Start a simple server (without live reload)pnpm run clean- Clean the build directory and thumbnailspnpm run generate-thumbnails- Generate PNG thumbnails for social media sharing
Important: Thumbnails MUST be generated manually on your device before deployment. The build process no longer automatically generates thumbnails.
Start by adding thumb.png and favicon.ico to the assets folder. the favicon will be converted to png automatically.
To generate thumbnails for your posts:
- Ensure ImageMagick is installed (see Prerequisites)
- Run the thumbnail generation command:
pnpm run generate-thumbnails
- This will create both SVG and PNG versions of thumbnails in
assets/thumbnails/:- Individual post thumbnails:
{post-slug}.svgand{post-slug}.png - Site thumbnail:
site-thumbnail.svgandsite-thumbnail.png(used for home page and other non-post pages)
- Individual post thumbnails:
- The PNG versions are used for social media sharing (iMessage, Twitter, etc.)
Note: Thumbnails are only generated in production mode (JEKYLL_ENV=production) to ensure proper image encoding and conversion.
Start by editing _config.yml to set your site's title, description, and other settings.
- Long-form writings: Create new files in
_writing/withlayout: postin the fontmater - Microblog posts: Create new files in
_microblog/withlayout: microin the fontmater - Requirements: All notes require a date fontmater. For example:
created: 2025-09-05. These options are avaliable and the date priority is: updated > created > published - Attachments: Add all attachments/image to
assets/attachments/, link them in the post with![[/attachments/{filename}]]syntax - Pages: Create HTML or Markdown files in the root directory
- Styles: Add CSS files to
assets/css/, randomize options are indefault.html - Layouts: Create new layouts in
_layouts/
- robots.txt and RSL standard to reject AI scraping/indexing
- PGP page to share your public key
- Two separate RSS feeds for long-form writings and microblog posts
- Multiple CSS styles, including a Minecraft theme
- Email button that acts as a "comment" button, linking to the current post