Endangered-Language-Alliance / ela-website

Endangered Language Alliance website
1 stars 0 forks source link

Breadcrumbs #15

Closed abettermap closed 3 years ago

abettermap commented 3 years ago

FYI i'm pulling them straight from the URL because some pages' heroes are a mix of code and data, others are pure data, others are Langs and Projects landing.

image

seems like a safe bet just about everywhere except years though, so should i change the hero to just show "2020" in the example or keep as-is?

i'm not going to do any crazy checks to see if it's a Year landing or anything like that, so options are as-is or change hero title to just the year.

i think i answered my own question just now for "include current". leaning hard towards No on that:

image

looks silly w/o all the punctuation.

let's make a rule for pages and really anything but Posts: no punctuation in the title. Posts are fine i guess, but just trying to make things slug-n-crumb-friendly here.

abettermap commented 3 years ago

just in case users aren't privy to the standard Logo = Home link, i feel like if we're omitting Home from the main nav then we should include in the crumbs, or vice versa. would vote for crumbs i guess since there's plenty going on in main nav already, and also more real estate available where the crumbs are, and their text can be smaller.

speaking of where they are... how will this look on the pages w/maps at the top? should the crumbs go below hero and above content instead? or above hero? i'll work with the style wherever we put them, but just need to know where that is first.

rperlin-ela commented 3 years ago

Just want to note here is that with crumbs we need to make sure About and Our Work landings look decent, because people can get them to that via crumbs. Not sure why, despite sanity check, Our Work landing has all its children doubled up (and half still featured imaging).

Not sure what's included here exactly, but no punctuation in the title of any page sounds too restrictive: we have language names with hyphens (Judeo-Median, Neo-Aramaic) and occasionally apostrophe-type deals (you'll remember K'iche'), and sometimes an Our Work child may need it too (e.g. COVID-19/Coronavirus)

abettermap commented 3 years ago

Just want to note here is that with crumbs we need to make sure About and Our Work landings look decent

layout will be cards grid or posts list, whichever you prefer. i can't do much w/o custom excerpt AND no feat img though, so fill out the custom excerpt when you have a chance (which we're now calling Excerpt despite the confusion w/the actual Excerpt from WP).

Not sure why, despite sanity check, Our Work landing has all its children doubled up (and half still featured imaging).

the "our work" page has all that stuff hard-coded. just remove it. here

Not sure what's included here exactly, but no punctuation in the title of any page sounds too restrictive: we have language names with hyphens (Judeo-Median, Neo-Aramaic) and occasionally apostrophe-type deals (you'll remember K'iche'), and sometimes an Our Work child may need it too (e.g. COVID-19/Coronavirus)

bummer. didn't think of those hyphens. that is unfortunate. everything is based off of the slug. my only immediate hack that won't take half a day to implement is to agree on some kind of slug pattern that i replace w/hyphens, e.g.:

neo-aramaic becomes neo--aramaic

this doesn't make the slug ugly (slugly?) and doesn't seem terribly SEO-unfriendly, and it would be easy to implement w/code for breadcrumbs.

are apostrophes the only other? definitely don't do slashes anywhere.

for apos, I don't know, another pattern maybe?

image

hang on

does K'iche' actually have any children? if not then it won't ever been seen in a crumb, right?

rperlin-ela commented 3 years ago

Nope, K'iche' won't have any children, nor will Neo-Aramaic or probably most of the pages that would have punctuation. Does that solve this problem? Otherwise sure we can do some replacement

abettermap commented 3 years ago

i think so! let's cross that bridge if we come to it