25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.1 KiB
22 lines
1.1 KiB
{{define "memenu"}}
|
|
<div class="me-menu">
|
|
<div style="height: 50px;line-height: 50px">
|
|
<a href="/u/{{.User.Id}}" target="_blank"><img src="{{.HeadImg}}" alt="头像" class="img-circle"></a>
|
|
<a href="/u/{{.User.Id}}" target="_blank" style="margin-left: 15px;font-size: 18px;text-decoration: none">{{.User.NickName}}</a>
|
|
</div>
|
|
<hr style="height:1px;border:none;border-top:1px solid #EEE;margin: 6px;"/>
|
|
<div style="display: flex;height: 30px;line-height: 30px;">
|
|
<div style="display: inline-block;width: 100px">
|
|
<span>文章: </span>
|
|
<span>{{.User.BlogCount}}</span>
|
|
</div>
|
|
<div style="display: inline-block;flex: 1">
|
|
<span>访问: </span>
|
|
<span>{{.User.BlogBrowes}}</span>
|
|
</div>
|
|
</div>
|
|
<hr style="height:1px;border:none;border-top:1px solid #EEE;margin: 6px;"/>
|
|
<p {{if .IsMeBlog}}class="active"{{end}}><span></span><a href="/me/blog">我的博客</a></p>
|
|
<p {{if .IsMeInfo}}class="active"{{end}}><span></span><a href="/me/info">我的资料</a></p>
|
|
</div>
|
|
{{end}}
|