Skip to content

Fix: Ensure Navbar Links Are Crawlable #670

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

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

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