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

Adding correct canonical link on main page #161

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nakul-py
Copy link
Contributor

Fixes #160

@@ -5,7 +5,7 @@

<title>{{ page.title | default: site.title }}</title>
<meta name="description" content="{{ page.title | default: site.title }}">
<link rel="canonical" href="{{ page.url | replace: '/index.html', '' | prepend: site.url }}">
<link rel="canonical" href="https://badges-and-achievements.github.io/">
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nakul-py Hello!

Unfortunately, this is not a solution to the problem.

If you fix the link here, it will be the same on all pages of the site (for example, also on https://badges-and-achievements.github.io/lang/french/ and etc.), and this is not true.

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.

Fix canonical link on main page
2 participants