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

setting for separator #331

Open
ghost opened this issue Feb 24, 2019 · 10 comments
Open

setting for separator #331

ghost opened this issue Feb 24, 2019 · 10 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 24, 2019

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
Copy link
Author

ghost commented Feb 25, 2019

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/

@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.

@jekyllbot jekyllbot added stale and removed stale labels Apr 25, 2019
@mattr- mattr- added the pinned label Apr 30, 2019
@jessuppi
Copy link

jessuppi commented May 1, 2019

(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...

@syntaqx
Copy link

syntaqx commented Jun 22, 2019

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

@tabasko78
Copy link

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)

@jessuppi
Copy link

@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.

@pixelicous
Copy link

pixelicous commented Aug 2, 2020

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

@tabasko78
Copy link

@pixelicous Big thanks ! It works !!!

@flachware
Copy link

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

@philsherry
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants