new_site/_layouts
Noah West fb294e3348
Responsive image fix (#2014)
Fixes #1967 

Update the way responsive images are used to only use one srcset, and
add corresponding `sizes` attribute to the relevant layouts and
templates.
I did not go through and add `sizes` to all the example posts/projects.
When `sizes` is not specified by the user, the `figure.html` template
defaults to 95% the width of the viewport which should work fine for
most cases; users can optimize further if they wish by feeding `sizes`
into the template.

Additionally:
 - Enabled support for .gif to .webp compression
- fix error in jekyll-imagemagick config where all images were resized
to be 800px or less. (for example img-1400.webp was actually only 800px
wide, etc.)
- added note about making sure imagemagick is installed before enabling
it in responsive images section of `_config.yml`
2023-12-26 13:00:38 -05:00
..
about.html Responsive image fix (#2014) 2023-12-26 13:00:38 -05:00
archive-category.html Fixed redirect post access from blog archive (#1994) 2023-12-14 15:47:28 -03:00
archive-tag.html Fixed redirect post access from blog archive (#1994) 2023-12-14 15:47:28 -03:00
archive-year.html Fixed redirect post access from blog archive (#1994) 2023-12-14 15:47:28 -03:00
bib.html Responsive image fix (#2014) 2023-12-26 13:00:38 -05:00
cv.html Fixes #1952 (#1955) 2023-11-23 13:02:14 -03:00
default.html add WeChat to socials (#1730) 2023-09-17 15:49:27 -04:00
distill.html ENH image zooming in distill posts (#1826) 2023-11-22 16:22:06 -03:00
none.html Update the theme with a neat publications page. 2016-07-05 02:38:32 -04:00
page.html Update giscus setup via github action (#1792) 2023-10-04 22:27:36 -04:00
post.html Fixes #1584 (#1971) 2023-12-01 11:20:13 -03:00
profiles.html Responsive image fix (#2014) 2023-12-26 13:00:38 -05:00