removed static webp and did some nginx conf

This commit is contained in:
Steffen Illium
2023-12-24 15:17:48 +01:00
committed by Steffen Illium
parent 76838d4122
commit 033fc3840b
101 changed files with 56 additions and 9 deletions

View File

@ -199,6 +199,7 @@ plugins:
- jekyll-scholar
- jekyll-data
- jekyll-archives
- jekyll-webp
- jemoji
# mimic GitHub Pages with --safe
@ -273,3 +274,42 @@ scholar:
group_by: year
group_order: descending
relative: "/publications"
############################################################
# 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: 85
# 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: ["/assets/"]
# Whether to search in nested directories or not
nested: true
# 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: true
############################################################