* 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 <>
* 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>
* 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>
* 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.
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>