Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal and beautiful Jekyll theme best for writing and note-taking, built as an enhancement of Minima.
Hamilton is a minimal Jekyll theme for writing and note-taking, built as an enhancement of the default Jekyll theme Minima. It turns a standard Jekyll site into a clean, content-focused blog with configurable skins, archives, and built-in integrations.
Hamilton is a Jekyll theme that produces a static blog or notes site from Markdown posts and pages. It takes Jekyll configuration files (_config.yml), posts, and pages as input, and outputs a static website with RSS feed, sitemap, SEO metadata, and optional comments. The theme runs on Jekyll, a Ruby-based static site generator, and can be installed either as a Ruby gem (jekyll-theme-hamilton) or remotely on GitHub Pages via jekyll-remote-theme. The theme is developed by the GitHub user ngzhio, and was originally created to replace Jekyll's default Minima theme while keeping the same minimal aesthetic.
sitemap.xml so search engines can index every page._config.yml and page views are recorded in production.math: true in front matter.daylight, midnight, sunrise, and sunset, with optional dynamic selection based on hour of day._data/navigation.yml._includes/custom-head.html and extra CSS via _sass/hamilton/custom-styles.scss._data/social.yml.toc: true on a post or page.remote_theme: ngzhio/jekyll-theme-hamilton in their configuration.daylight.scss, or inject analytics and SEO tags without touching core templates.title and disqus).Install the theme by adding gem 'jekyll-theme-hamilton' to your Gemfile, or use jekyll-remote-theme and set remote_theme: ngzhio/jekyll-theme-hamilton in _config.yml. Then configure the required parameters title, disqus, and google_analytics, and run jekyll serve to preview the site locally. Optional front matter flags control per-page features: math: true for MathJax and toc: true for a table of contents.
Yes, Hamilton is open source and released under the MIT License, so you can use, modify, and redistribute it freely.
The theme is designed as a standard Jekyll gem theme and works with Jekyll's usual gem-based theme system; it also supports GitHub Pages through jekyll-remote-theme.
Yes. Copy _sass/hamilton/skins/daylight.scss into your repository, rename it (for example solarized.scss), adjust the colors, and set skin: solarized in _config.yml.
Yes, through Disqus. You must set the disqus parameter in _config.yml to your Disqus shortname, and comments are enabled in the production environment.
Set toc: true in the front matter of any post or page, and Hamilton will render the TOC on the left sidebar.
