mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-30 22:57:59 +00:00
10 lines
394 B
Plaintext
10 lines
394 B
Plaintext
<aside <%= @id && %( id="#{@id}") %> class="<%= ['admonitionblock',(attr :name),role].compact * ' ' %>" data-admonition-type="<%= attr :name %>">
|
|
<svg class="icon">
|
|
<use href="<%= icon_uri(attr :name) %>#<%= attr :name %>" alt="<%= @caption %>"></use>
|
|
</svg>
|
|
<div class="content">
|
|
<% if title? %><div class="title"><%= title %></div><% end %>
|
|
<%= content %>
|
|
</div>
|
|
</aside>
|