* Added avoid flag text to meta descriptions
* Moved meta description logic to a shortcode
* Fixing nunjucks syntax error in base template head
Co-authored-by: Oscar <ovlb@users.noreply.github.com>
* feat(dark mode): set up first set of colors
* feat(dark mode): define state colours
* 🧹
* feat(dark mode): variablify all teh wordz
* feat(dark mode): set colors on body
* feat(dark mode): replace hard coded color value
* feat(dark mode): 🌑
* feat(a11y): update link focus styles
- restores visible focus in windows high contrast mode
- increases visibility in boxes with bg colour
* feat(dark mode): enable postcss
* 💅
* feat(dark mode): add user control
* chore: use generic headline name
* feat(dark mode): hide switch until script loads
* feat(dark mode): increase link contrast
* add content warning to footer nav partial
* feat(dark mode): replace hard coded colour value in alertbox
* feat(dark mode): tone down text colour
* feat(dark mode): properly invert code elements
* 🧹 move box styles into own partial
* feat(dark mode): use darker colour as background for links
* 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>
* 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>