Benjeto is a sleek and modern Jekyll Theme designed to create personal websites that resemble social media profiles. This theme is perfect for sharing short posts or updates as well as long articles, and it offers a calm design with support for dark mode.
Add this line to your Jekyll site's Gemfile
:
gem "benjeto-jekyll-theme"
And add this line to your Jekyll site's _config.yml
:
theme: benjeto-jekyll-theme
And install the theme and its dependancies:
$ bundle install
Refer to the sample configuration. Specifically,
defaults:
- values:
title: ""
is necessary for creating short posts without titles.
Copy _data/profile.yml
to your site to create your profile.
Use relative links for images: the header should be in a 5:1 ratio and the icon in a 1:1 ratio.
Copy _data/settings.yml
to your site.
For tabs created in home.tabs
, you need to create a dedicated page with layout: home
.
When specifying pagination.category
or pagination.tag
, posts will be filtered by jekyll-feed
.
Refer to the sample for guidance.
If you are building a site in a language other than English, translation files are available in _data/texts.yml
.
You can also modify the text for categories and tags.
You can configure the head in _includes/custom_head.html
.
You can configure the CSS in _sass/benjeto/custom.scss
.
image.html
figure image with caption and license.
Set pixel
to true
to support pixel art.
{% include image.html
src="/assets/sample.png"
pixel=false
alt="Sample alt"
caption="This is a sample image"
license="CC BY-SA 4.0"
license_url="https://creativecommons.org/licenses/by-sa/4.0/"
%}
video.html
Video player with title, caption, thumbnail, and license
{% include video.html
src="/assets/sample.mp4"
title="Sample video"
poster="/assets/thumbnail.png"
caption="This is a sample video"
license="CC BY-SA 4.0"
license_url="https://creativecommons.org/licenses/by-sa/4.0/"
%}
audio.html
Audio player with title, caption, artwork, and license
{% include audio.html
src="/assets/sapmle.mp3"
title="Sample music"
artwork="/assets/artwork.png"
alt="Artwork alt"
caption="This is a sample music"
license="CC BY-SA 4.0"
license_url="https://creativecommons.org/licenses/by-sa/4.0/"
%}
youtube.html
and nicovideo.html
Embedded video player for YouTube and Niconico
YouTube
{% include youtube.html id="rdwz7QiG0lk" aspect="4/3" title="YouTube on the tube!" %}
Niconico
{% include nicovideo.html id="sm38213757" aspect="16/9" title="削除動画" %}
The theme is available as open source under the terms of the MIT License.
This project uses the following open source software:
Each of these libraries is licensed under the MIT License. Please see the respective LICENSE files for more information.