-
Notifications
You must be signed in to change notification settings - Fork 118
SEO Tasks: Improve SEO Titles & Meta Descriptions #473
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
base: main
Are you sure you want to change the base?
Conversation
CC: @AmandaPerino, @jathayde |
@@ -23,7 +23,7 @@ | |||
{% assign url = page.url | absolute_url %} | |||
|
|||
<head> | |||
<title>{{ site.title }} — {% if page.title %}{{ page.title }}{% else %}{{ site.description }}{% endif %}</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Title length should ideally be around 55-60 characters. Anything else might not be seen. 70 is considered the upper limit. How long are the site descriptions? I'd also put the page title before the Site title:
"Doximity Case Study — Ruby on Rails" as opposed to "Ruby on Rails — Doximity Case Study"
Again with truncation in search results, we want to ensure that the important detail is up front.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked all the titles and shorten 2 of them to be <70. The descriptions are around 150 to 160 chars (a couple of them bit longer at over 200). The ones Ranker suggested in the doc are much longer, I reworded/shorten most of them (and awaiting tweaks from @AmandaPerino)
In terms of that specific line, yeah I'm removing the site.title - page.title thing, and only defaulting to site.title for pages where a page title is not found at all.
This PR addresses the issues mentioned in this Task
Note: I did not copy/paste all titles and descriptions as suggested in the spreadsheet (as some of the wording didn't quite match our style). I used my own words for the page descriptions, and I'm open to edits.