bloat/templates/emoji.tmpl

20 lines
572 B
Cheetah
Raw Normal View History

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