修复文章头像没有使用CDN函数

pull/358/head
lifei6671 2018-07-22 17:31:20 +08:00
parent 969fd44b9c
commit e729e35abb
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@
{{.Model.BlogTitle}} {{.Model.BlogTitle}}
</h1> </h1>
<div class="blog-meta"> <div class="blog-meta">
<div class="item user_img"><img src="{{.Model.MemberAvatar}}" align="{{.Model.CreateName}}"> </div> <div class="item user_img"><img src="{{cdnimg .Model.MemberAvatar}}" align="{{.Model.CreateName}}"> </div>
<div class="item">&nbsp;{{.Model.CreateName}}</div> <div class="item">&nbsp;{{.Model.CreateName}}</div>
<div class="item">发布于</div> <div class="item">发布于</div>
<div class="item">{{date .Model.Created "Y-m-d H:i:s"}}</div> <div class="item">{{date .Model.Created "Y-m-d H:i:s"}}</div>