mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 18:00:00 +00:00
c5836bbddb
* Update content-warning-flag.njk Adds a missing space * force tests Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com>
16 lines
731 B
Plaintext
16 lines
731 B
Plaintext
{%- if
|
|
flag and
|
|
flag.text and
|
|
(flag.level == 'avoid') -%}
|
|
<div class="u-margin-bottom-double content-flag content-flag--avoid">
|
|
<p class="small">We would recommend adding a content warning when speaking about this term. Please <a href="#content-warning-guide">read the guidance</a> on how and when to warn people before using this term in any context.</p>
|
|
</div>
|
|
{%- elseif
|
|
flag and
|
|
flag.text and
|
|
(flag.level == 'warning') -%}
|
|
<div class="u-margin-bottom-double content-flag">
|
|
<p class="small">There is a content warning against this term, we would recommend <a href="#content-warning-guide">reading the guidance</a> on warning other people before using this term in any context.</p>
|
|
</div>
|
|
{% endif %}
|