Fix compatibility args

This commit is contained in:
Jonny Gerig Meyer 2023-05-24 10:32:21 -04:00
parent ff936c46d8
commit d9c63116eb
No known key found for this signature in database
2 changed files with 15 additions and 17 deletions

View File

@ -2,40 +2,38 @@
<div class="compatibility">
Compatibility{% if feature %} ({{ feature }}){% endif %}:
</div>
{% if dart != null %}
{%- if dart != null -%}
<div>
<dt>Dart Sass</dt>
<dd>{{ dart | implStatus }}</dd>
</div>
{% endif %}
{% if libsass != null %}
{%- endif -%}
{%- if libsass != null -%}
<div>
<dt>LibSass</dt>
<dd>{{ libsass | implStatus }}</dd>
</div>
{% endif %}
{% if node != null %}
{%- endif -%}
{%- if node != null -%}
<div>
<dt>Node Sass</dt>
<dd>{{ node | implStatus }}</dd>
</div>
{% endif %}
{% if ruby != null %}
{%- endif -%}
{%- if ruby != null -%}
<div>
<dt>Ruby Sass</dt>
<dd>{{ ruby | implStatus }}</dd>
</div>
{% endif %}
{% if details %}
<div>
{% # The no-op href here ensures that this toggle is focusable in browsers. %}
<a href="javascript:;">▶</a>
</div>
{% endif %}
{%- endif -%}
{%- if details -%}
{%- # The no-op href here ensures that this toggle is focusable in browsers. -%}
<div><a href="javascript:;">▶</a></div>
{%- endif -%}
</dl>
{% if details %}
{%- if details -%}
<div class="sl-c-callout sl-c-callout--impl-status">
{{ details | markdown }}
</div>
{% endif %}
{%- endif -%}

View File

@ -1,5 +1,5 @@
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby` %}
{% compatibility '1.23.0', false, false %}
{% compatibility '1.23.0', false, null, false %}
Only Dart Sass currently supports `@use`. Users of other implementations must
use the [`@import` rule][] instead.