Modified: site avatar img 引用路径

This commit is contained in:
XPoet 2020-03-15 09:30:16 +08:00
parent fdb9ebad6e
commit 8f08a8d586
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<div class="site-info">
<img class="avatar" src="<%= theme.avatar %>" style="width:127px;">
<%- image_tag(theme.avatar, {class: 'avatar'}) %>
<div class="title">
<a href="/"><%= config.title %></a>
</div>

View File

@ -5,10 +5,11 @@
padding 2px
border-radius 50%
border 1px solid #ddd
width: 50%;
}
.title {
margin 5px 0;
text-transform: uppercase;
a {