A dark coloured Jekyll theme compatible with GitHub Pages, with emphasis on elegance?


Jekyll Theme

A dark Jekyll theme compatible with GitHub Pages, with emphasis on elegance.


This theme assumes that your images are stored at


It's good practice to put your assets in an assets folder, in my opinion at least.


Add this line to your Jekyll site's Gemfile:

gem "jekyll-theme-dusk", "~> 0.5.2"

And add this line to your Jekyll site's _config.yml:

theme: jekyll-theme-dusk

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-theme-dusk


This theme has many features in it. They are written here so that it is easier to use them.

  • To edit entries in the navigation menu, edit;


    and add your pages, and icons if you want them.
    Here is an example:

    - name: Home
      link: /
    - name: About
      icon: /assets/images/about-icon.png
      link: /about.html
    - name: Blog
      icon: /assets/images/blog-icon.png
      link: /blog.html

    Crunchy gif :)

  • Image Galleries

    This one is a bit complicated, but is pretty cool in my opinion.
    If you want to create a gallery, you will need to do a few things.
    In this section, replace [GALLERY_NAME] with the name of a gallery. This must be the same for all parts if you want to use the gallery without issues.

    1. Create the folders at the paths: ``` /assets/images/gallery/



    2. Place your images at ```/assets/images/gallery/[GALLERY_NAME]/(your images)```
    Replace ```(your images)``` with *your images*. What did you expect?
    3. Place a file at ```_data/galleries``` called ```[GALLERY_NAME].yml``` and add the names of your images according to the example below:


    • image: tux.jpg
    • image: tux-flag.jpg
    • image: tux-old.jpg
    • image: tux-trollface.jpg
    • image: tux-unfaithful.jpg ```
    1. Place the following code into anywhere you want to add an image gallery:

      {%- include image-gallery.html gallery_id="[GALLERY_NAME]" -%}
    2. Enjoy your images!

    Located at _posts/

    • Home Page

    To edit the home page, you need to include a title for the page, and a small summary.
    This can be found in the front matter. Here is an example.

    layout: home
    permalink: /
    title: "Dusk"
    summary: "Dusk is a theme built for GitHub Pages."

    You do not need the title or summary variables, as the variables {{ site.title }} and {{ site.description }} can be set in your _config.yml file as well, which is the default. This does override the other though.

  • Blog Page

    This page contains all your posts that you have made on your website. All you need to do is just to make some posts, and then they will all appear there.


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.


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