Skip to content

Conversation

oNya685
Copy link

@oNya685 oNya685 commented Mar 16, 2025

Update index_profile.html

What does this PR change? What problem does it solve?

  1. Fixes incorrect dimension check condition that caused Resize method to receive invalid parameters when only one dimension was specified
  2. Optimizes conditional judgment sequence to properly handle scenarios:
    • When only width is provided
    • When only height is provided

Was the change discussed in an issue or in the Discussions before?

No existing discussion found.

PR Checklist

  • This change adds/updates translations and I have used the template present here.
  • I have enabled maintainer edits for this PR.
  • I have verified that the code works as described/as intended.
  • This change adds a Social Icon which has a permissive license to use it.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.
  • This change updates the overridden internal templates from HUGO's repository.

Update index_profile.html
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant