From 03191f6f0991ffeffd8cbb30143c4e1afb7d371c Mon Sep 17 00:00:00 2001 From: Ernesto Castellotti Date: Thu, 25 Aug 2022 19:58:00 +0200 Subject: Remove WebP generator plugin --- Gemfile | 3 +-- _config.yml | 42 +----------------------------------------- _includes/image.html | 1 - 3 files changed, 2 insertions(+), 44 deletions(-) diff --git a/Gemfile b/Gemfile index ea52438..63919dd 100644 --- a/Gemfile +++ b/Gemfile @@ -7,8 +7,7 @@ gem "rake" group :jekyll_plugins do gem "jekyll-last-modified-at" gem "jekyll-redirect-from" - gem "jekyll-webp" gem "jekyll-remote-theme" gem "jekyll-seo-tag" gem 'jekyll-default-layout' -end \ No newline at end of file +end diff --git a/_config.yml b/_config.yml index 0a8c186..8be0e5a 100644 --- a/_config.yml +++ b/_config.yml @@ -90,46 +90,6 @@ mermaid: # barGap: 4 # topPadding: 50 -############################################################ -# Site configuration for the WebP Generator Plugin -# The values here represent the defaults if nothing is set -webp: - enabled: true - - # The quality of the webp conversion 0 to 100 (where 100 is least lossy) - quality: 80 - - # List of directories containing images to optimize, nested directories will only be checked if `nested` is true - # By default the generator will search for a folder called `/img` under the site root and process all jpg, png and tiff image files found there. - img_dir: ["/img","/assets/img/"] - - # Whether to search in nested directories or not - nested: false - - # add ".gif" to the format list to generate webp for animated gifs as well - formats: [".jpeg", ".jpg", ".png", ".tiff"] - - # File extensions for animated gif files - gifs: [".gif"] - - # Set to true to always regenerate existing webp files - regenerate: false - - # Local path to the WebP utilities to use (relative or absolute) - # Omit or leave as nil to use the utilities shipped with the gem, override only to use your local install - # Eg : "/usr/local/bin/cwebp" - webp_path: nil - - # List of files or directories to exclude - # e.g. custom or hand generated webp conversion files - exclude: [] - - # append '.webp' to filename after original extension rather than replacing it. - # Default transforms `image.png` to `image.webp`, while changing to true transforms `image.png` to `image.png.webp` - append_ext: false -############################################################ - - collections: ont: permalink: "/:path/" @@ -150,4 +110,4 @@ just_the_docs: nav_fold: false gpon: name: GPON - nav_fold: false \ No newline at end of file + nav_fold: false diff --git a/_includes/image.html b/_includes/image.html index 19149b3..5aa729b 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -2,7 +2,6 @@ {% if {{include.url}} %} {% endif %} - {{include.alt}} {% if {{include.url}} %}{% endif %}{% if {{include.caption}} %}
-- cgit v1.2.3