mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-27 01:13:00 +00:00
b6c09b4fc6
Makes the emoji page usable for instances with 1000+ emojis. The attribute is considered experimental by Mozilla, but is supported by most of the modern browsers.
18 lines
470 B
Cheetah
18 lines
470 B
Cheetah
{{with .Data}}
|
|
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
|
<div class="page-title"> Emojis </div>
|
|
|
|
<div class="emoji-list-container">
|
|
{{range .Emojis}}
|
|
<div class="emoji-item-container">
|
|
<div class="emoji-item">
|
|
<img class="emoji" src="{{.URL}}" alt="{{.ShortCode}}" height="32" loading="lazy" />
|
|
<span title=":{{.ShortCode}}:" class="emoji-shortcode">:{{.ShortCode}}:</span>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
|
|
{{template "footer.tmpl"}}
|
|
{{end}}
|