Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix profileMode imageUrl preloaded on every page #495

Merged
merged 1 commit into from
Aug 10, 2021
Merged

Fix profileMode imageUrl preloaded on every page #495

merged 1 commit into from
Aug 10, 2021

Conversation

danielfdickinson
Copy link
Contributor

Instead we now only preload on the home page.
Closes #494

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

Solves #494 by only preloading imageUrl on homepage.

Was the change discussed in an issue or in the Discussions before?
Created issue and PR about same time. Will update PR if needed, but for such a simple issue/fix it is unlikely (in #149 @adityatelange indicated that profileMode is only for homepage).

PR Checklist

  • I have enabled maintainer edits for this PR.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.

Instead we now only preload on the home page.
Closes #494

Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com>
@sonarcloud
Copy link

sonarcloud bot commented Aug 10, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Owner

@adityatelange adityatelange left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@adityatelange adityatelange merged commit a3ad238 into adityatelange:master Aug 10, 2021
@danielfdickinson danielfdickinson deleted the pr-fix-profilemode-imageurl-preload-every-page branch August 10, 2021 14:24
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this pull request Feb 21, 2023
Instead we now only preload on the home page.
Closes adityatelange#494

Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com>
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this pull request Feb 21, 2023
Instead we now only preload on the home page.
Closes adityatelange#494

Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com>
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.

[BUG] Using imageURL for profileMode preloads it on every page
2 participants