build(aio): improve rendering of directive selectors
This commit is contained in:
parent
39386eadea
commit
77d24afea3
|
@ -1,10 +1,9 @@
|
||||||
{%- if doc.selector %}
|
{%- if doc.selector %}
|
||||||
<section class="selectors">
|
<section class="selectors">
|
||||||
<h2>Selectors</h2>
|
<h2>Selectors</h2>
|
||||||
{% for selector in doc.selector.split(',') %}
|
<code-example hideCopy="true" class="no-box api-heading selector">
|
||||||
<div class="selector">
|
{%- for selector in doc.selector.split(',') %}
|
||||||
<code>{$ selector $}</code>
|
{$ selector $}{% endfor %}
|
||||||
</div>
|
</code-example>
|
||||||
{% endfor %}
|
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue