Skip to content

Fix: Ensure Navbar Links Are Crawlable#670

Closed
Bashamega wants to merge 2 commits intoscientific-python:mainfrom
Bashamega:fix-SEO
Closed

Fix: Ensure Navbar Links Are Crawlable#670
Bashamega wants to merge 2 commits intoscientific-python:mainfrom
Bashamega:fix-SEO

Conversation

@Bashamega
Copy link

Issue

Google flagged an issue with some <a> elements in the navbar:

  • The "More" dropdown toggle was missing an href, making it uncrawlable.
  • Some links used ./, which can cause issues with search engine discovery.

Fixes

  • Changed the "More" dropdown <a> to a <span> since it's not a clickable link.
  • Updated ./ paths to absolute paths (/user_guide/, /shortcodes/, etc.).
  • Ensured all anchor tags have valid href attributes.

Why This Matters

  • Improves SEO by making links properly crawlable.
  • Prevents Google search console errors related to invalid/missing href attributes.

@netlify
Copy link

netlify bot commented Mar 8, 2025

Deploy Preview for scientific-python-hugo-theme ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 4fb0ce8
🔍 Latest deploy log https://app.netlify.com/sites/scientific-python-hugo-theme/deploys/67f7615351fe6500085efab4
😎 Deploy Preview https://deploy-preview-670--scientific-python-hugo-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 93
Accessibility: 100
Best Practices: 100
SEO: 100
PWA: -
View the detailed breakdown and full score reports

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

@Bashamega
Copy link
Author

image

@Bashamega
Copy link
Author

Hello @stefanv
Can you please take a look at this?
Thank you

@Bashamega Bashamega closed this by deleting the head repository Aug 27, 2025
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