build(aio): improve rendering of directive selectors

This commit is contained in:
Peter Bacon Darwin 2017-09-11 13:56:39 +01:00 committed by Matias Niemelä
parent 39386eadea
commit 77d24afea3
1 changed files with 4 additions and 5 deletions

View File

@ -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 %}