-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Labels
bugSomething isn't workingSomething isn't working
Description
As part of looking over whether we should merge #162, I noticed we have some problems with how we are using our meta tags, including Open Graph and Twitter tags.
When people share URLs from Swift.org, they currently use the site description for the Open Graph and Twitter meta tags, meaning the Mentorship page previews using the site title and site description:
There are several things we could do better:
- Tweak the conditional meta tags around lines 36 and 49 of
base.html
, only falling back to the site title and description when absolutely nothing else is available. - Attempt to get auto-excerpts working for pages that are not blog posts. I’m not quite sure how they are working for blog posts right now since we don’t use an
excerpt_separator
. This needs a little investigation. - Every page should already have a sensible title, so even without automated excerpts, we should change it so we use the page title in Open Graph and Twitter meta tags.
- Stretch Goal: We should consider adding custom explicit excerpts for pages that get linked to a lot, like the workgroup pages, getting started, and community pages.
MaxDesiatov and tomerd
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working