minimal-music-project is a flexible, extendable Jekyll theme. With this theme it's plain simple to create a good looking website for a music band with all the required components to list all releases and news. Demo is available here.
There are three ways to install:
As a ruby gem theme:
Add this line to your Jekyll site's Gemfile
:
gem "minimal-categorized"
And add this line to your Jekyll site's _config.yml
:
theme: minimal-categorized
And then execute:
$ bundle
Or install it yourself as:
$ gem install minimal-categorized
As a remote theme (GitHub Pages compatible)
In your Jekyll site's _config.yml remove other themes and add this entry:
remote_theme: ItsPatrq/minimal-categorized
Forking/directly copying all of the theme files into your project.
This theme uses pager plugin jekyll-paginate-v2
for pagination and jekyll-seo-tag
for seo tags. It can be configured in main _config file.
Configuration via .yml files
Structure of _data/menu.yml
:
Structure of _data/metaData.yml
:
window
scope to execute on cookie agreewindow
scope to execute on cookie disagreeStructure of _data/customs.yml
:
In the post feed / discography each entry will be shown with a text. This text will contain either the content of "description" property from front matter, or excerpt if the description property is missing.
There are two parameters responsible for displaying images: image and responsiveImage. The first one should have string value equal to the relative path to the image to display in a post (and post-feed / discography preview) if responsiveImage is not set. This path will always be used for clickToEnlargeImages functionality too. The responsiveImage is an array of objects that will be transpiled to img in DOM property srcset. Each object should contain two properties:
It's recommended to use responsiveImage for responsible image loading.
Each post can have it's own associated player. Information on how to embed the player should be described under embed_player parameter. Each player should have at least two parameters: src and type, where type will define on how to fill src. Supported types:
Bug reports and pull requests are welcome on GitHub. 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.
To set up your environment to develop this theme, run bundle install
.
Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve
and open your browser at http://localhost:4000
. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
When your theme is released, only the files in _layouts
, _includes
, _sass
and assets
tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in minimal-music-project.gemspec
accordingly.
The theme is available as open source under the terms of the MIT License. Custom Volume Slider was developed with the fundaments based on codepen project, thus this component is licensed under Copyright (c) 2021 by EmNudge.