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

Duplicate canonical #239

Closed
rosepac opened this issue Sep 27, 2020 · 2 comments
Closed

Duplicate canonical #239

rosepac opened this issue Sep 27, 2020 · 2 comments

Comments

@rosepac
Copy link

rosepac commented Sep 27, 2020

The canonical url of the pages is printed in duplicate. Everything indicates that this is due to the use of the jekyll-seo-tag plugin. Plus the included "code" to generate the canonical URL.

This error occurs both in the template and in your personal blog. And obviously it also happened on my website.


I have commented <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">in the file _includes/head.html. I guess I could delete it

But. I do not know. If exactly it will be the best formula to solve it. But for now. This has been corrected.


P.D.: On your personal blog @sylhare the canonical url is shown with two final slashes. I don't know if that affects performance at all. But it looks a bit strange. I think it is the fault of the final slash of the "base" url of the config page in your site config.

S2 🤗

@sylhare
Copy link
Owner

sylhare commented Sep 28, 2020

Yup I will take a look into it . ;)

@sylhare
Copy link
Owner

sylhare commented Oct 1, 2020

So after checking, it is indeed part of the jekyll SEO plugin, so I will be removing the manual one that will resolve the duplication.

sylhare added a commit that referenced this issue Oct 1, 2020
@sylhare sylhare closed this as completed Oct 1, 2020
OMEGA-Y pushed a commit to OMEGA-Y/OMEGA-Y.github.io that referenced this issue Dec 8, 2020
* [Go] Concept Exercise: strings

* refactor the strings exercise

* rename to `basic-strings` and cleanup

* update concept/Readme.md

* better formatted error messages in the tests

* remove config.json

* more indepth introduction on runes

* similarities to slices

* requested changes
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

No branches or pull requests

2 participants