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 758002c commit 8674bf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _layouts/about.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ layout: default
{% assign profile_image_class = 'img-fluid z-depth-1
rounded' %}
{% endif %}
{% capture sizes %}(min-width: {{site.max_width}}) {{ site.max_width | minus: 30 | times: 0.15}}px, (min-width: 500px)
{% capture sizes %}(min-width: {{site.max_width}}) 30vw, (min-width: 500px)
30vw, 30vw"{% endcapture %}
{%
include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=page.profile.image
cache_bust=true
%}
{{site.imagemagick.enabled}}
{% endif %}
{% if page.profile.more_info %}
<div class="more-info">{{ page.profile.more_info }}</div>
Expand Down

0 comments on commit 8674bf1

Please sign in to comment.