fix avatar rounded. (#530)
This commit is contained in:
parent
632276b1f6
commit
2937dc6360
|
@ -16,7 +16,7 @@
|
|||
<div>
|
||||
<% const is_rounded = get_config_from_obj(widget, 'avatar_rounded', false); %>
|
||||
<figure class="image is-128x128 has-mb-6">
|
||||
<img <%= is_rounded ? 'class="is-rounded"' : '' %> src="<%= avatar() %>" alt="<%= get_config_from_obj(widget, 'author') %>">
|
||||
<img class=<%= is_rounded ? 'is-rounded' : '' %> src="<%= avatar() %>" alt="<%= get_config_from_obj(widget, 'author') %>">
|
||||
</figure>
|
||||
<% if (get_config_from_obj(widget, 'author')) { %>
|
||||
<p class="is-size-4 is-block">
|
||||
|
|
Loading…
Reference in New Issue