🌐 Website Issue | Breadcrumbs don't respect capitalization of acronyms #1551

Closed
opened 2019-11-30 22:49:39 +00:00 by djoate · 2 comments
djoate commented 2019-11-30 22:49:39 +00:00 (Migrated from github.com)
## Description https://www.privacytools.io/providers/dns/: DNS -> Dns https://www.privacytools.io/providers/vpn/ VPN -> Vpn
Mikaela commented 2019-12-01 12:43:15 +00:00 (Migrated from github.com)

I had difficulties understanding this issue, but apparently the problem is in navigation.

kuva

kuva

I had difficulties understanding this issue, but apparently the problem is in navigation. ![kuva](https://user-images.githubusercontent.com/831184/69914094-c267ba00-1448-11ea-823c-f25ef50f80de.png) ![kuva](https://user-images.githubusercontent.com/831184/69914101-cdbae580-1448-11ea-8012-f7de07f9061a.png)

The reason for this is the breadcrumbs code takes the names from the permalink rather than the page title, and uses capitalize to make it look better. This makes sense for some pages, for example https://ipv6.privacytools.io/providers/email/ shows the breadcrumbs as "Home > Providers > Email", and not "Home > Providers > Best Secure Email Providers for Privacy" (which IMO is not useful navigation or SEO-wise), but obviously doesn't work well for others.

We could have a breadcrumb attribute in the YAML front matter for each page to solve cases where the breadcrumbs would have conflicting titles like that, instead of trying to figure them out automatically based on the permalink. I'd imagine that's the best solution here.

The reason for this is the breadcrumbs code takes the names from the permalink rather than the page title, and uses [capitalize](https://shopify.github.io/liquid/filters/capitalize/) to make it look better. This makes sense for some pages, for example https://ipv6.privacytools.io/providers/email/ shows the breadcrumbs as "Home > Providers > Email", and not "Home > Providers > Best Secure Email Providers for Privacy" (which IMO is not useful navigation or SEO-wise), but obviously doesn't work well for others. We could have a breadcrumb attribute in the YAML front matter for each page to solve cases where the breadcrumbs would have conflicting titles like that, instead of trying to figure them out automatically based on the permalink. I'd imagine that's the best solution here.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: privacyguides/privacytools.io#1551
No description provided.