2017-06-29 22:23:27 +01:00
|
|
|
{%- if doc.selector %}
|
2018-09-19 14:28:23 +01:00
|
|
|
<section class="selector-list">
|
2017-04-24 10:49:37 -07:00
|
|
|
<h2>Selectors</h2>
|
2021-09-14 13:59:19 +03:00
|
|
|
|
|
|
|
|
{%- if doc.selectors %}
|
|
|
|
|
{$ doc.selectors | marked $}
|
|
|
|
|
{%- else %}
|
2018-09-19 14:28:23 +01:00
|
|
|
<ul>
|
|
|
|
|
{%- for selector in doc.selectorArray %}
|
2018-09-21 14:07:51 +01:00
|
|
|
<li><code>{$ selector | replace(r/(:not\([^()]+\))/g, '<i>$1</i>') $}</code></li>
|
2021-09-14 13:59:19 +03:00
|
|
|
{%- endfor %}
|
2018-09-19 14:28:23 +01:00
|
|
|
</ul>
|
2021-09-14 13:59:19 +03:00
|
|
|
{%- endif %}
|
2017-05-02 15:08:49 +01:00
|
|
|
</section>
|
2021-09-14 13:59:19 +03:00
|
|
|
{%- endif -%}
|