gokarna-theme / gokarna-hugo

A minimal opinionated theme for Hugo
https://gokarna-hugo.netlify.app
GNU General Public License v3.0
357 stars 139 forks source link

Fix: `socialIcons` disappear when ad blockers are enabled. #246

Closed ryouze closed 2 weeks ago

ryouze commented 2 weeks ago

As suggested by @jamesericdavidson, I am submitting a PR to fix #238.

The EasyList – Social Widgets filter was blocking the ##.social-icons-list class, preventing social media icons from appearing. To fix this, I have simply renamed all instances of social-icon to gk-social-icon (gk = Gokarna).

With this change, the social media links should now display correctly, even when aggressive ad blockers are enabled.

screenshot

netlify[bot] commented 2 weeks ago

Deploy Preview for gokarna-hugo ready!

Name Link
Latest commit 1ff497cb0d9085e048e7d3aa3929c5b105ed22dc
Latest deploy log https://app.netlify.com/sites/gokarna-hugo/deploys/6703e7bfd230c2000889b5a2
Deploy Preview https://deploy-preview-246--gokarna-hugo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

526avijitgupta commented 2 weeks ago

Verified. Thanks @ryouze and @jamesericdavidson