Jekyll - Static sites generator

109 readers
2 users here now

Lemmy community for Jekyll static site generator users and enthusiasts across fediverse.

Jekyll is a blog-aware, site generator written in Ruby. It takes raw text files, runs it through a renderer and produces a publishable static website.

Rules

founded 2 years ago
MODERATORS
1
2
3
 
 

Recently I've been working on some updates and fixes for my personal website, which was running on GitHub Pages using Jekyll 3.9 since the 2015. One of this fixes was implementing the posibility of having open graph images and making it more interesting when posting on social media, using igor-alexandrov/jekyll-og-image plugin.

This plugin requires advanced building because dependencies, so you need to switch to custom workflows instead of keep using the default building system, if you want to make it works. This made me curious about what we are missing here, by keep using gh-pages. So, after modifing my Gemfile to start using new version of Jekyll and remove locked dependencies for GitHub Pages, it ended like this.

source "https://rubygems.org/"

gem "jekyll", "~> 4.4.1"
gem "jekyll-feed", "~> 0.12"
gem "jekyll-paginate"
gem "jekyll-seo-tag"
gem 'jekyll-og-image'

platforms :mingw, :x64_mingw, :mswin, :jruby do
  gem "tzinfo", "~> 1.2"
  gem "tzinfo-data"
end

gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
gem "webrick", "~> 1.8"

After this change you will need to run:

bundle update
bundle install

This is for regenerate your Gemfile.lock and being able to install dependencies without errors while running the workflow. Once completed commited to your repository, it be completely free to update to Jekyll 4, use new unsupported plugins, or even create your own!

4
5
 
 

Just redid my portfolio for the first time since 2021. Feels good! I switched from Eleventy to @jekyll not because of any animosity towards Eleventy but because most of my programming these days is in Ruby. I only used Jekyll for the first time when I set up the landing page for Rails World but I really enjoy how simple it is! Anyway check out the redo here https://joshea.dev/

6
 
 

Update to the open source jekyll-responsive-magick plugin for generating responsive images for a Jekyll 4 website using ImageMagick.

7
 
 

Retro-take of the original post which started everything.

8
9
 
 

Hey folks! Recently I created @jekyll, a Lemmy community to talk about Jekyll (static-site generator) and finding new resources.

#jekyll

10
 
 

Search made simple, indexing for your Jekyll site.