From d9db7e6b4b11ea968ebdd486029c052364a4da7e Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 12 Aug 2023 23:50:57 +0800 Subject: [PATCH] Replace deprecated gems with plugins Since [Jekyll 3.5.0](https://github.com/jekyll/jekyll/releases/tag/v3.5.0), plugins have been added to config key as replacement for gems in https://github.com/jekyll/jekyll/pull/5130. This patch resolves a deprecation warning "Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly." when executing `bundle exec jekyll serve`. --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index bceb2a7..05fd314 100644 --- a/_config.yml +++ b/_config.yml @@ -48,7 +48,7 @@ kramdown: sass: sass_dir: static/css -gems: +plugins: - jekyll-babel - jekyll-sitemap - jekyll/fontawesome/svg