a1a90ab9fd
Switched out the / in the headers for a - The template generator can now handle FieldNodes passed to templates. Added the topic_alt_userinfo template. Added the topic_alt_quick_reply template.
7 lines
615 B
HTML
7 lines
615 B
HTML
<div class="userinfo" aria-label="{{lang "topic.userinfo_aria"}}">
|
|
<div class="avatar_item" style="background-image: url({{.Avatar}}), url(/static/white-dot.jpg);background-position: 0px -10px;"> </div>
|
|
<div class="user_meta">
|
|
<a href="{{.UserLink}}" class="the_name" rel="author">{{.CreatedByName}}</a>
|
|
{{if .Tag}}<div class="tag_block"><div class="tag_pre"></div><div class="post_tag">{{.Tag}}</div><div class="tag_post"></div></div>{{else}}<div class="tag_block"><div class="tag_pre"></div><div class="post_tag post_level">{{level .Level}}</div><div class="tag_post"></div></div>{{end}}
|
|
</div>
|
|
</div> |