diff --git a/11ty/_includes/components/content-warning-flag.njk b/11ty/_includes/components/content-warning-flag.njk new file mode 100644 index 00000000..6839fb19 --- /dev/null +++ b/11ty/_includes/components/content-warning-flag.njk @@ -0,0 +1,15 @@ +{%- if + flag and + flag.text and + (flag.level == 'avoid') -%} +
We would recommend adding a content warning when speaking about this term. Pleaseread the guidance on how and when to warn people before using this term in any context.
+There is a content warning against this term, we would recommend reading the guidance on warning other people before using this term in any context.
+You may want to add a content warning before discussing or showing imagery involving this topic, as it is a topic that can elicit negative feelings and visceral reactions like a panic attack or trauma.
+Content warnings usually take the form of "Content warning: {{ title }}" or "CW: {{ title }}. We recommend the former when possible.
+Content warnings should be given at the earliest possible opportunity. Examples of where you can do this are:
+You may want to add a content warning before discussing or showing imagery involving this topic, as it is a topic that can elicit negative feelings and visceral reactions like a panic attack or trauma.
+Content warnings usually take the form of "Content warning: [{{ title }}]" or "CW: [{{ title }}]. We recommend the former when possible.
+This content warning should be given at the earliest possible opportunity. Examples of where you can do this are:
+{{ speech }}
-{{ alt_words }}
#} diff --git a/11ty/_includes/layouts/definition.njk b/11ty/_includes/layouts/definition.njk index 5a7a5b97..5d6f8980 100644 --- a/11ty/_includes/layouts/definition.njk +++ b/11ty/_includes/layouts/definition.njk @@ -11,8 +11,14 @@{{ speech }}
+