Skip to content

Commit

Permalink
Update about.liquid
Browse files Browse the repository at this point in the history
  • Loading branch information
BingCS authored Aug 29, 2024
1 parent 45b9931 commit e9c5482
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _layouts/about.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ layout: default
{% assign profile_image_class = 'img-fluid z-depth-1
rounded' %}
{% endif %}
{% capture sizes %}(min-width: {{site.max_width}}) 30vw, (min-width: 576px) 30vw, 30vw"{% endcapture %}
{% capture sizes %}(min-width: {{site.max_width}}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px)
30vw, 95vw"{% endcapture %}
{%
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
cache_bust=true
Expand Down

0 comments on commit e9c5482

Please sign in to comment.