fix qnote error when avatar not used rounded. (#531)
This commit is contained in:
parent
2937dc6360
commit
8804d4612d
|
@ -16,7 +16,7 @@
|
||||||
<div>
|
<div>
|
||||||
<% const is_rounded = get_config_from_obj(widget, 'avatar_rounded', false); %>
|
<% const is_rounded = get_config_from_obj(widget, 'avatar_rounded', false); %>
|
||||||
<figure class="image is-128x128 has-mb-6">
|
<figure class="image is-128x128 has-mb-6">
|
||||||
<img class=<%= is_rounded ? '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>
|
</figure>
|
||||||
<% if (get_config_from_obj(widget, 'author')) { %>
|
<% if (get_config_from_obj(widget, 'author')) { %>
|
||||||
<p class="is-size-4 is-block">
|
<p class="is-size-4 is-block">
|
||||||
|
|
Loading…
Reference in New Issue