Base by


A basic but extensible Jekyll theme based on Bootstrap 5.

Theme preview

Gitlab theme preview as navigation isn't showing on github pages for some reason


Download or fork the repo -Extract -Go into extracted directory and execute:

$ bundle exec jekyll serve

Or with livereload:

$ bundle exec jekyll serve --liveReload

Theme Contents


Files within the _layouts directory, that define the markup for your theme:

  • default.html - The base layout that lays the foundation for subsequent layouts. Includes a navigation bar and footer on all pages.
  • home.html - The layout for your homepage/landing page. Includes a blog post listing with pagination support.
  • page.html - The layout for documents and other pages that contain Front Matter, that are not posts.
  • post.html - The layout for your blog posts.

Home Layout

Main Heading, Custom Content Injection

The home layout will inject all content from your / index.html before the optional posts heading. This will allow you to include non-posts related content to be published on the landing page under a dedicated heading. We recommended that you title this section with a Heading2 (##), and enable a posts heading if you add additional content.

Posts Listing

It will be automatically included only when your site contains one or more valid posts or drafts (if the site is configured to show_drafts).

This section is untitled by default. You can customize this heading by defining a list_title variable in the document's front matter, which will be rendered with an <h2> tag.


Snippets of code within the _includes directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem:

  • footer.html — Defines the site's footer section.
  • head.html — Code-block that defines the <head></head> in default layout.
  • custom-head.html — Placeholder to allow users to add more metadata to <head />.
  • header.html — Defines the site's main header section. By default, pages with a defined title attribute will have links displayed here.
  • social.html — Renders social-media icons based on the bootstrap.social_links data in the config file.


.scss files within the _sass directory that define the theme's styles.

  • bootstrap/* - Default Bootstrap SCSS files.
  • _custom-variables.scss - This file can be overridden to add any custom variables. It is loaded after Bootstrap's variables but before the rest of Bootstrap, allowing you to override any of Bootstrap's variables. (Note: Cannot override styles)
  • _custom-styles.scss - This file can be overridden to add any custom styles. It is loaded after all other CSS. (Note: Cannot override variables)


  • assets/css/bootstrap-theme.scss - Imports sass files from _sass and gets processed into the final stylesheet.
  • assets/css/bootstrap-icons.css - Loads Bootstrap Icons
  • assets/js/bootstrap.bundle.min.js - Bootstrap's Javascript bundle, loaded on every page by default.
  • assets/fonts/bootstrap-icons.woff(2) - Bootstrap Icons font files.


This theme comes with jekyll-seo-plugin preinstalled to make sure your website gets the most useful meta tags. See usage to know how to set it up.


This theme can be configured with various settings in _config.yml.

Site Author is expected to be a mapping of attributes instead of a simple scalar value:

  name: 'Github User'
  email: ''

If you want to link only specific pages in your header, uncomment this and add the path to the pages in order as they should show up

   - second.html
   - folder/

Social Network Icons

You can add links to the accounts you have on other sites, with respective icon, by adding one or more of the following options in your config. These must be complete URLs to function properly.

    twitter: ''
    github:  ''
    facebook: ''
    instagram: ''
    linkedin: ''
    google: ''
    youtube: ''
    twitch: ''
    telegram: ''
    whatsapp: ''
    discord: ''
    slack: ''

Post Excerpts

To display post excerpts on the Home layout, set to true. You can also choose to automatically cut off excerpts after 32 words (approx. 2 lines):

  show: true
  auto_truncate: true


Bug reports and pull requests are welcome on GitHub at This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Development Requirements:

  • yarn

Updating packages: yarn run assets:clean && yarn upgrade && yarn run assets:install


The theme is available as open source under the terms of the MIT License.

jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer