4d9dc76392
Very minor refactoring here and there across the software. Save some allocations here and there.
11 lines
508 B
HTML
11 lines
508 B
HTML
<div class="userinfo" aria-label="{{lang "topic.userinfo_aria"}}">
|
|
<div class="avatar_item" style="background-image:url({{.Avatar}}),url(/s/white-dot.jpg);"> </div>
|
|
<div class="user_meta">
|
|
<a href="{{.UserLink}}" class="the_name" rel="author">{{.CreatedByName}}</a>
|
|
<div class="tag_block">
|
|
<div class="tag_pre"></div>
|
|
{{if .Tag}}<div class="post_tag">{{.Tag}}</div>{{else}}<div class="post_tag post_level">{{level .Level}}</div>{{end}}
|
|
<div class="tag_post"></div>
|
|
</div>
|
|
</div>
|
|
</div> |