bloat/templates/emoji.tmpl

20 lines
543 B
Cheetah
Raw Normal View History

2020-01-14 18:57:16 +02:00
{{with .Data}}
2020-02-19 00:15:37 +02:00
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
2019-12-22 20:10:42 +02:00
<div class="page-title"> Emojis </div>
<div class="emoji-list-container">
{{range .Emojis}}
{{if Allowed_emoji_page .ShortCode "blobfox" "senko" "shiro"}}
2020-10-19 08:20:57 +03:00
<div class="emoji-item-container">
<div class="emoji-item">
<img class="emoji" src="{{.URL}}" alt="{{.ShortCode}}" height="32" loading="lazy" />
2021-05-30 10:03:29 +03:00
<span title=":{{.ShortCode}}:" class="emoji-shortcode">:{{.ShortCode}}:</span>
2020-10-19 08:20:57 +03:00
</div>
2019-12-22 20:10:42 +02:00
</div>
{{end}}
{{end}}
2019-12-22 20:10:42 +02:00
</div>
{{template "footer.tmpl"}}
2020-01-14 18:57:16 +02:00
{{end}}