jekyll-seo-tag icon indicating copy to clipboard operation
jekyll-seo-tag copied to clipboard

setting for separator

Open ghost opened this issue 6 years ago • 10 comments

a similar issue was previously raised, except it changed from "allow changing the separator" to "change the separator".

i want my separator to be - (hyphen). im not proposing to change the default as the default was already hyphen and it was changed away from that. instead im proposing what the previous issue initially proposed: to allow users the option.

Personally, i prefer the hyphen because that is what Firefox uses:

page title - Mozilla Firefox

here is a workaround:

<title>{% if page.title != site.title %}{{ page.title }} - {% endif -%}
{{ site.title }}</title>

ghost avatar Feb 24 '19 21:02 ghost

Where SEO is concerned it's important to have some leeway here IMO so not all pages look the same on SERPS. https://perishablepress.com/choosing-the-best-title-separators/

ghost avatar Feb 25 '19 03:02 ghost

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.

jekyllbot avatar Apr 25 '19 03:04 jekyllbot

(below response copied from here)

Disappointing to see the default pipe | separator being used. The dash - is by far the most common title separator on the web, and it's also what Google defaults to when none exist.

e.g. https://support.google.com/google-ads/answer/6349091?hl=en

...uses: <title>About Google Ads - Google Ads Help</title> ...but SERPs append: - Google Support

Pipes have been mentioned several times as meaning something closer to "or" for Google, so usually it makes sense to reserve usage for the homepage only.

E.g. Marco's Pizza Shop | Chicago Pizza Shop | Pizza Delivery Chicago

It shouldn't really be used in the way Jekyll SEO Tag is currently using it, to delimit sitename suffix.

Seems like an easy win to allow customization or go with the vastly more common dash...

jessuppi avatar May 01 '19 11:05 jessuppi

Any chance this will get traction? Would love the ability to configure this.

syntaqx avatar Jun 22 '19 05:06 syntaqx

SEO titles have a limited size in google search result page. This size is not limited with limit of characters but a limit of pixels count.

I think this is the main reason we prefer "|" And visual impact is better than "-" or ",".

A agree to say that this is the same :) Can't find how to make the | digest in jekyll, it removes anytime. I have tried quote, backslash with no success

(sorry for my english)

tabasko78 avatar Sep 09 '19 23:09 tabasko78

@tabasko78 The vast majority of websites are using dashes - for the title delimiter, not pipes. In any case the fact that several industry figures disagree here is reason to allow customization.

jessuppi avatar Sep 10 '19 07:09 jessuppi

@tabasko78 Use the following - &#124; in the title. This will get jekyll to show the vertical bar ;)

pixelicous avatar Aug 02 '20 09:08 pixelicous

@pixelicous Big thanks ! It works !!!

tabasko78 avatar Aug 02 '20 16:08 tabasko78

I second the feature request, I’d like to be able to use a · &middot; as separator in the title.

flachware avatar Dec 29 '20 18:12 flachware

If people are willing to set aside the visual stylistic differences of the separator, and they should, the more important matter to consider is accessibility.

> “Page title vertical line site name”

☝🏻 That's how most screen readers will announce it with the pipe character. Not great. Using a standard right-there-on-the-keyboard hyphen is the most accessible solution. “But why, Phil?” Glad you asked! Because screen readers will treat this as a small pause, rather than reading it out in any way at all — which is what we want.

> “Page title [pause] site name”

☝🏻 That's a much better experience for our screen reader-using friends and neighbours.

It's a tiny improvement, but it matters. It makes things better than they were yesterday, and that's what we should aim for each day.

philsherry avatar Mar 20 '22 16:03 philsherry