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 meta descriptions with pagination #265

Closed
ouyi opened this issue Jan 26, 2018 · 7 comments
Closed

Duplicate meta descriptions with pagination #265

ouyi opened this issue Jan 26, 2018 · 7 comments

Comments

@ouyi
Copy link

ouyi commented Jan 26, 2018

When pagination is enabled, the description tags are identical for the paginated pages. Google Search Console lists this as an issue under Search Appearance => HTML Improvements => Pages with duplicate meta descriptions .

Is it possible to include the page number in the description when pagination is enabled?

For example:

<meta name="description" content="My description - Page 2 of 3">
<meta property="og:description" content="My description - Page 2 of 3">
...
@benbalter
Copy link
Collaborator

benbalter commented Jan 26, 2018

If anyone is interested in taking this issue on, I believe the relevant change would need to be made here.

@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@alokpant
Copy link
Contributor

@benbalter Can I look into this? So to make sure that I understand:

when pagination is enabled it should show something like this:

<meta name="description" content="My description - Page 2 of 3">
<meta property="og:description" content="My description - Page 2 of 3">

if not

<meta name="description" content="My description">
<meta property="og:description" content="My description">

@jekyllbot jekyllbot removed the stale label May 23, 2018
@benbalter
Copy link
Collaborator

@alokpant Yep. Exactly that. #250 may be a good place to start as it looks like it solved a similar problem.

@alokpant
Copy link
Contributor

alokpant commented May 23, 2018

Cool thank you. I will look into the reference and try to solve this too. @benbalter

@alokpant
Copy link
Contributor

alokpant commented May 24, 2018

@benbalter bit confused, shouldn't change be required here rather than here as you provided as a clue above. Issue is to change meta-description.

How can I test it before submitting PR?

@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@jekyll jekyll locked and limited conversation to collaborators Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants