Title: [WIP] Fix missing LinkedIn and URL SVGs on sponsor page by Copilot · Pull Request #1 · PascalCTF/PascalCTF.github.io · GitHub
Open Graph Title: [WIP] Fix missing LinkedIn and URL SVGs on sponsor page by Copilot · Pull Request #1 · PascalCTF/PascalCTF.github.io
X Title: [WIP] Fix missing LinkedIn and URL SVGs on sponsor page by Copilot · Pull Request #1 · PascalCTF/PascalCTF.github.io
Description: Fix Windows SVG Display Issue on Sponsor Page Analysis The issue is that on Windows, the sponsor page doesn't display SVG icons for LinkedIn and URL links correctly. After investigation, I found: The sponsors.html shortcode uses keys like "site", "link", and "linkedin" for sponsor links The svg.html partial has an explicit definition for "linkedin" but NOT for "site" or "link" These undefined icons fall through to a generic link icon fallback On Windows, the fallback condition {{- else if $icon_name -}} may not work correctly, causing icons to not display Solution Created an override of the svg.html partial in layouts/partials/svg.html Added explicit icon definitions for "site", "link", and "url" that use the generic link SVG Test the changes to ensure icons display correctly Run code review and security checks Changes Made Created layouts/partials/svg.html as a local override of the theme's partial Added explicit condition before the fallback: {{- else if or (eq $icon_name "site") (eq $icon_name "link") (eq $icon_name "url") -}} This ensures that "site", "link", and "url" icon names are explicitly matched and render the link SVG icon This fix ensures consistent behavior across all operating systems, including Windows, by making the icon matching explicit rather than relying on the fallback condition. Original prompt Can you figure out why on windows on the sponsor's page it doesnt show the linkeding and url svgs? 💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Open Graph Description: Fix Windows SVG Display Issue on Sponsor Page Analysis The issue is that on Windows, the sponsor page doesn't display SVG icons for LinkedIn and URL links correctly. After investigation, I foun...
X Description: Fix Windows SVG Display Issue on Sponsor Page Analysis The issue is that on Windows, the sponsor page doesn't display SVG icons for LinkedIn and URL links correctly. After investigation, I ...
Opengraph URL: https://github.com/PascalCTF/PascalCTF.github.io/pull/1
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:731aaad3-cf83-6ed9-d85c-fcea17cf7d0d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E1DE:10CC91:35A2AD:444199:698FF70C |
| html-safe-nonce | 94b2c9d009707679892aa9296999085e58ebbf9e1070f186494010ad78077ec3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMURFOjEwQ0M5MTozNUEyQUQ6NDQ0MTk5OjY5OEZGNzBDIiwidmlzaXRvcl9pZCI6Ijg5MTQ3MDk0MTY0MjAzMDg3NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 738c290b57fd9c26d51004d5f3bbe1777aa80c680100f8cd05e47bcb30db6a8b |
| hovercard-subject-tag | pull_request:3006009464 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PascalCTF/PascalCTF.github.io/pull/1/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Fix Windows SVG Display Issue on Sponsor Page Analysis The issue is that on Windows, the sponsor page doesn't display SVG icons for LinkedIn and URL links correctly. After investigation, I foun... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PascalCTF/PascalCTF.github.io git https://github.com/PascalCTF/PascalCTF.github.io.git |
| octolytics-dimension-user_id | 178156544 |
| octolytics-dimension-user_login | PascalCTF |
| octolytics-dimension-repository_id | 906683071 |
| octolytics-dimension-repository_nwo | PascalCTF/PascalCTF.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 906683071 |
| octolytics-dimension-repository_network_root_nwo | PascalCTF/PascalCTF.github.io |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width