diff --git a/templates/admonition.html.erb b/templates/admonition.html.erb index 4788308..0bcd0a2 100644 --- a/templates/admonition.html.erb +++ b/templates/admonition.html.erb @@ -1,16 +1,10 @@ class="<%= ['admonitionblock',(attr :name),role].compact * ' ' %>"> -
<% - if document.attr? :icons, 'font' %> - <% - elsif document.attr? :icons %> - - - <% - else %> -
<%= @caption %>
<% - end %> +
+ + + <% if title? %>