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"