279 Commits

Author SHA1 Message Date
Kathryn Grayson Nanz
b872dbe384
Add new front matter element: excerpt (#227)
* This commit adds the excerpt front matter element, to show an
abbreviated version of the definition in social previews. This
also includes the documentation updates to support this change.

* This commit adds @olvb's suggestion to use 'set' to define the
alert & preview combo, to avoid repetitive code

* This commit updates the preview text to only include the flag if
it's "avoid" – if the flag is "warning" or there is no flag, it
will not appear at the beginning of the preview text.

Co-authored-by: Kathryn Grayson Nanz <kathryn@Kathryns-MacBook-Air.local>
Co-authored-by: Oscar <ovlb@users.noreply.github.com>
Co-authored-by: Kathryn <>
2020-08-24 19:41:45 +02:00
Théodore Biadala
3808d4d80c
Fix slug for sane (#268)
Currently the word sane links to the "sanity-check" page making it difficult to view the definition for "sane"
2020-08-21 08:53:17 +02:00
Sophie Alpert
8c6a6ea74e
Fix typo in index.njk (#261) 2020-07-23 09:39:57 +02:00
Oj18
1fa9dec17d
✏️ Fix ableist misspelling in 'White Feminism' (#248) 2020-06-24 12:20:46 -07:00
Oj18
cd20973004
🐛 Fix ableist filename (#245) 2020-06-24 11:06:11 -07:00
Luna Graysen
43102f702b
Adds dissociative identity disorder (#231)
* Create dissociative-identity-disorder.md

* Update 11ty/definitions/dissociative-identity-disorder.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Add read also section

Co-authored-by: Tatiana Mac <github@tatianamac.com>
Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
2020-06-23 17:54:22 -07:00
Jeremy Wagner
91318cc682
Added preconnect/dns-prefetch hints for Typekit CSS resources. (#243) 2020-06-23 09:41:33 +02:00
Luna Graysen
994168f340
Adds plural (#228)
* Create plural.md

* Add read also section

Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
2020-06-22 13:48:23 -07:00
Paul Grenier
96be1dbfa2
Adds optical allyship (#201)
* adds optical allyship

* Update 11ty/definitions/optical-allyship.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update optical-allyship.md

adding dictionary-style definition before coiner's quote.

* Update optical-allyship.md

Co-authored-by: AutoSponge <paul.grenier@slalom.com>
Co-authored-by: Tatiana Mac <github@tatianamac.com>
Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
2020-06-22 13:32:51 -07:00
jlealess
5789b3910a
⚒️ Adds alertbox to all definitions (#218)
* Adds alertbox to definition pages

* Fixes syntax of links and improves wording of callout links to contribute
2020-06-22 13:01:43 -07:00
Matthew Shields
f72d41280a
⚒️ Adds content warning guidelines page (#200)
* Add empty page content file

* Add link in footer

* Make footer links span two columns when in grid template layout

* wrap footer grid-column in media query to strip triggering 2 columns on mobile

* Add guidelines content

* Capitalise 'Warning'

* Add link to guidance page from guidance definition block

* Change 'term' to 'topic'

* Update 11ty/content-warning-guidelines/index.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/content-warning-guidelines/index.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/content-warning-guidelines/index.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/content-warning-guidelines/index.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/content-warning-guidelines/index.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* remove additional line breaks to pass lint tests

* remove my now unneeded media query

* Remove longer content warning from definition page

* Change content warning flag to link to separate content warning guidance page

* remove unneeded content flag styling

Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-06-20 11:06:01 -07:00
Dirk Puge
a33c5fe86e
Add Métis definition (#235)
* Create metis.md

* Added new line, fixed formatting

* Fixed a spacing issue
2020-06-20 10:32:27 -07:00
Alice Zhao
3b9ba6c84a
Adds master/slave definition (#217)
* 📝 Add master/slave definitions

* Fix lint errors

* Update 11ty/definitions/master-slave.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/master-slave.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/master-slave.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/master-slave.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/master-slave.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Add further reading and alphabetize alt words

* Update 11ty/definitions/master-slave.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/master-slave.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-06-19 17:34:15 -07:00
Heidi Olsen
24aecfbc01
Adds "peanut gallery" definition (#233)
* ✏️ initial draft of peanut gallery defn

* 🧹 Fix lint issues

* ✏️ PR edits

Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
2020-06-19 15:35:49 -07:00
Luna Graysen
48edd26ace
✏️ Add plural they to neopronouns (#232) 2020-06-19 10:57:38 -07:00
Kathryn Grayson Nanz
8f297444dd
Adds definition: Boogaloo (#221)
* This commit creates a new definition for "Boogaloo"

* This commit fixes a broken link

* This commit updates the definition for 'Boogaloo', incorporating the
contributions added by Eric.

* Update 11ty/definitions/boogaloo.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* This commit revises the "Impact" section of the definition to focus
on the harmed and not the perpetrator

Co-authored-by: Kathryn Grayson Nanz <kathryn@Kathryns-MacBook-Air.local>
Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-06-17 14:33:19 -07:00
jlealess
601e752f32
Fixes broken link to definition of pansexual (#223)
Removes yarn lock file
2020-06-17 09:17:08 +02:00
Alex Chan
99bc214ebc
Fix link to CONTRIBUTING.md after the branch rename (#219) 2020-06-15 18:16:12 +02:00
David Peter
a3271a9470
⚒️ Add optional category support for alt words. (#199)
* Add optional category support for alt words.

In the frontmatter for Markdown word definitions, the `alt_words` key
now supports any number of categories, though it functionally only
supports one level in the look & feel of the website.

If we wish to use multi-level categories, we can add a class to the <ul>
in order to cleanly style nested lists.

Resolves #170

* Fix: Digital Blackface lint issues.
2020-06-12 13:12:15 -07:00
Oscar
6d34f45aad
💅 Lints digital Blackface (#209) 2020-06-12 12:20:00 -07:00
Kate Sowles
2a8f1014b8
Feature/rss feed (#192)
* installed @11ty/eleventy-plugin-rss package and added it to the config

* adding default rss template from the 11ty documentation

* using 'definedWords' as a collection, not 'posts'

* added a link to the feed in the html head, on the homepage so it's co-located with the other means of engagement, and in the feed itself (permalink is now part of metadata too)

* metadata.description is what we want to show as the feed subtitle, and made the author name safe as part of the metadata json; can't use the safe filter otherwise xml blows up

* removed redundant --- from right below the frontmatter, which md turns into a <hr>, which makes xml blow up

* made indentation consistent

* removing subscribe link from the CTA box, adding it to the footer next to Documentation link with bullet delimiter; updated site footer's ul style to show list items as display-block elements

* on definition pages, the footer is constrained to have the max width of the sidebar (160px). set grid-column: 1 / -1 to give it the full width to match the home/toc page

* created a new collection for sorting only defined words via their .date value (should be created date unless otherwise specified)

* RSS feed now shows posts in the order used by new definedWordsChronological collection

* reversed sort order as requested

* re-prettier-ifying eleventy.js

Co-authored-by: Oscar <ovlb@users.noreply.github.com>
2020-06-12 11:21:37 +02:00
philherb
67298c7da2
Adds definition for digital Blackface (#196)
* Add files via upload

* Update 11ty/definitions/digital-blackface.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/digital-blackface.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/digital-blackface.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/digital-blackface.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/digital-blackface.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Add files via upload

Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-06-11 14:35:51 -07:00
David Peter
6f0a29f859
🐛 Modernize legacy definition deep-linking (#203)
Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
2020-06-10 17:24:54 -07:00
Gianmarco
c5836bbddb
🐛 Updates content-warning-flag.njk (#193)
* Update content-warning-flag.njk

Adds a missing space

* force tests

Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
2020-06-10 10:36:59 -07:00
Gregor Martynus
918863ebde
✏️ typo: chilldhood (#188) 2020-06-05 14:34:50 -07:00
Jonathan Silvestri
2339da4521
📝 Adds alt words to 'dude' (#169)
* Adds alt words dfor dude

* Adds a few more alt words, and a note for some of them
2020-06-01 17:10:04 -07:00
tatianamac
c51bea38cc 🐛 Fixes mansplain linking issues 2020-05-30 15:19:07 -07:00
tatianamac
4426edd4fa 🐛 Fixes mansplain linking issues 2020-05-30 15:12:42 -07:00
tatianamac
461224750c Merge branch 'master' of https://github.com/tatianamac/selfdefined 2020-05-30 15:10:06 -07:00
tatianamac
65bcdf81a6 🐛 Fixes mansplain linking issues 2020-05-30 15:09:24 -07:00
Sebastian
b58890cca0
✏️ Add "social and career suicide" note to suicide definition (#173)
* Add "social and career suicide" note to suicide definition

* Suggest rephrasing "social suicide" instead of offering a 1:1 alternative

* Update 11ty/definitions/suicide.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-30 14:28:41 -07:00
tatianamac
f9d9a1dc9e Adds cruel, merciless 2020-05-29 16:23:33 -07:00
tatianamac
a150c749e1 🐛 Fixes display issues 2020-05-29 10:58:30 -07:00
tatianamac
41d9c003a8 Defines savage 2020-05-29 10:54:15 -07:00
tatianamac
11bbee568a 🐛 Fixes SCSS build errors 2020-05-28 21:18:01 -07:00
tatianamac
5acc7f9b0a ✏️ Updates content warning 2020-05-28 16:26:44 -07:00
Matthew Shields
909c90f776
⚠️ Adds content warning guidelines (#156)
* Move speech definition into main template

* Remove speech definition from definition-content.njk

* add margin top helper

* add content flag components

* Add selection styling to .box class

* Change content warning flag styling

* Add additional content warning guidance and change styling

* Expand examples list

* reworded topic[s] after testing in screen reader

* Also adjust wording on avoid content guidelines block

* Output title into content warning example

* Update 11ty/_includes/components/content-warning.njk

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/_includes/components/content-warning-flag.njk

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/_includes/components/content-warning.njk

Co-authored-by: Tatiana Mac <github@tatianamac.com>

Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-28 16:08:35 -07:00
Ivana
66a3103f26
Adds definition for 'mansplaining' (#150)
* Propose definition for 'mansplaining'

My first attempt at a definition here; open to any and all feedback. Used a variety of resources for this one.

* Update 11ty/definitions/mansplaining.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Update 11ty/definitions/mansplaining.md

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Apply suggestions from code review

Co-authored-by: Tatiana Mac <github@tatianamac.com>

Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-28 15:12:38 -07:00
Oak Thielbar
b0b7d4ea08
Adds definition for dude (#157)
* Front matter for dude

* Wrote definition for dude

* Update 11ty/definitions/dude.md to add quotation marks

Quotation marks added around "dude" in first paragraph

Co-authored-by: Tatiana Mac <github@tatianamac.com>

* Front matter for dude

* Wrote definition for dude

* dude definition's impact section updated courtesy of @tatianamac for added clarity and nuance; see https://github.com/tatianamac/selfdefined/pull/157#discussion_r430756630

* Added avoid flag to 'dude' definition

* Fixed 'dude' definition's flag yaml

Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-28 14:13:43 -07:00
Bashu Naimi-Roy
941403694a
Style fixes (#144)
* change "title__thicc" classname to "title--thicc" to reflect BEM naming convention

* fix indentation in index.njk

* add vertical spacing between homepage sections

* convert ".help" class to ".box__list" class

CSS classes generally shouldn't be related to content

* remove duplicate code for .page

* change auto-grid class to "auto-fit", from "auto-fill"

This reduces unused negative space on screens between 800-1200px wide

* use proper BEM practice - block, then modifier class

* refactor .flag styles to be more BEM

* add BEM block-level class to h1

* refactor box__list to simply "list"

* It will be its own component rather than element of the "box" block

* Remove duplicate (older) thicc styles from _header.scss

* rename .title--thicc to .thicc-headline to be more consistent with other "headline" heading classes

* rename another .title--thicc -> .thicc-headline

* refactor CSS selector from adjacent to class

* refactor the whole header to separate grid layout and typography

* remove unneeded grid style

* it's not a grid item

* remove sub-headline typography from _header.scss and add it to _typography.scss

* remove horizontal margin from box below tablet size

* noticed that the .box class, which is already squished on 320px wide screens, is more squished because of its margins.

* allow headings to wrap if necessary

noticed that headings (e.g. "development and build") were blowing out the grid on small screens and causing horizontal scroll

* rename subtitle to "sub-headline"

* convert <section> to <header>

makes more semantic sense for a screen-reader, since this really is the header of the document.

* discard heading wrapper element in favour of having just the heading element

Co-authored-by: Oscar <ovlb@users.noreply.github.com>
2020-05-28 10:01:04 +02:00
tatianamac
ba43ece075 ✏️ Lowercase suicide 2020-05-27 13:59:54 -07:00
tatianamac
287fa78c43 ✏️ Adds editorial nuance 2020-05-27 13:38:16 -07:00
Daniel Mclaughlan
ebb15a1382
Merge branch 'master' into added-definition-suicide 2020-05-27 19:09:30 +01:00
straydogstrut
943e74cf5c Fixed indentation 2020-05-27 19:03:53 +01:00
straydogstrut
05d8ce7035 Set defined to true 2020-05-27 18:57:45 +01:00
straydogstrut
2db4a668b2 Renamed Issues to Usage Notes 2020-05-27 18:57:15 +01:00
straydogstrut
2d192eca59 Updated Usage Tips 2020-05-27 18:56:44 +01:00
Daniel Mclaughlan
2a6b176818
Update 11ty/definitions/suicide.md
Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-27 18:29:36 +01:00
Daniel Mclaughlan
db08be3773
Update 11ty/definitions/suicide.md
Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-27 18:29:07 +01:00
Daniel Mclaughlan
42e45b44a1
Update 11ty/definitions/suicide.md
Co-authored-by: Tatiana Mac <github@tatianamac.com>
2020-05-27 18:27:18 +01:00