Skip to content

Conversation

bep
Copy link
Member

@bep bep commented Sep 16, 2025

Which, in my tests, removes the layout shifting on the home page.

https://deploy-preview-3209--gohugoio.netlify.app/

Which, in my tests, removes the layout shifting on the home page.
@bep bep requested a review from Copilot September 16, 2025 18:46
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds font preloading to the website's HTML head section to eliminate layout shifting on the home page by ensuring fonts are loaded before they're needed for rendering.

  • Adds preload links for two Mulish variable font files to improve page loading performance
  • Uses crossorigin="anonymous" attribute for proper CORS handling of font resources

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bep bep merged commit a156649 into gohugoio:master Sep 16, 2025
6 checks passed
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