Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A simple yet classy theme for your Jekyll website or blog.
Centrarium is a Jekyll theme for building classy personal websites and blogs, offering customizable fonts and colors, cover images, and built-in Disqus comments.
Centrarium is an open-source Jekyll theme created by Ben Centra. It consumes standard Jekyll content — posts placed in a posts/ directory, pages with front matter, and a _config.yml configuration file — and generates a static site with paginated blog posts, category/tag archives, and social sharing. The theme depends on Bourbon, Neat, Bitters, and Refills for its Sass architecture, uses Font Awesome for icons, HighlightJS for syntax highlighting, and Lightbox2 for full-screen photo viewing. It runs on any Jekyll installation, works with GitHub Pages when archive plugins are disabled, and is pre-configured for Stackbit deployment to Netlify.
$base-font-family, $heading-font-family, $base-font-size, $base-font-color, $action-color, and $highlight-color in _sass/base/_variables.scss to rebrand the theme.cover key in _config.yml or per-post covers in front matter; the footer and page headers fall back to $highlight-color when no image is set.inter_post_navigation toggle adds next/previous post links./category/:name/ and /tag/:name/, and a combined archive at posts.html supports optional category descriptions.monokai_sublime specified via highlightjs_theme in _config.yml.disqus_shortname in _config.yml to enable comments on posts; add a disqus_disabled flag in a post's front matter to turn them off for that post.ga_tracking_id in _config.yml; pageview tracking is injected into the footer of each page.social section of _config.yml, and enable per-post share buttons by setting share: true for a network.posts/ directory.custom_js front-matter list._config.yml.Centrarium works like a standard Jekyll theme. You copy the _includes, _layouts, and _sass directories into your Jekyll project, replace index.html and add posts.html, then merge the _config.yml settings. After running bundle install to fetch jekyll, jekyll-archives, jekyll-sitemap, and jekyll-paginate, you build the site and Jekyll outputs the static HTML files.
Yes, Centrarium works with GitHub Pages, but the jekyll-archives plugin is not included in GitHub Pages' supported plugins. To use archive pages, build the site locally and push the compiled output, or disable the archive feature by removing the jekyll-archives section and gem from _config.yml.
Edit the Sass variables in _sass/base/_variables.scss. The key variables are $base-font-family, $heading-font-family, $base-font-size, $base-font-color, $action-color, and $highlight-color. If you load a custom font, you must @import it before using it in these variables.
Set disqus_shortname to your Disqus username in _config.yml. To disable comments on a specific post, add disqus_disabled to that post's front matter.
In the social section of _config.yml, add an entry for each network with the service name, Font Awesome icon, username, URL, description, and set share: true to include that network in the share buttons on posts.
Yes, Centrarium is open source and released under the MIT license. You can use it for personal or commercial projects.