Jekyll Commands New Page Template

Creating New Page Templates with Jekyll Commands

Introducing how to create new page templates with commands in Ruby's Jekyll. Jekyll is nice, but matching time formats and file formats is subtly annoying. gem install jekyll-compose...

Shou Arisaka
1 min read
Oct 21, 2025

Introducing how to create new page templates with commands in Ruby’s Jekyll.

Jekyll is nice, but matching time formats and file formats is subtly annoying. Well, I could probably create a bash command for that in about 20 minutes, but I don’t want to create unnecessary things. If something like this↓ already exists, it’s better to use it.

Here’s how it goes.

gem install jekyll-compose

cat >> Gemfile
gem 'jekyll-compose', group: [:jekyll_plugins]

bundle

bundle exec jekyll post "My New Post"

Share this article

Shou Arisaka Oct 21, 2025

🔗 Copy Links