26 lines
840 B
Handlebars
26 lines
840 B
Handlebars
<div class="bg-slate-600 rounded-lg">
|
|
<a href="{{Url}}">
|
|
<img src="{{ImageUrl}}?no_webp=1" loading="lazy" width="100%" height="100%">
|
|
</a>
|
|
<p class="m-2 text-ellipsis whitespace-nowrap overflow-hidden">
|
|
<a href="{{Url}}">{{Title}}</a><br />
|
|
{{#if User}}
|
|
by <a href="/user/{{User}}">{{User}}</a>
|
|
{{else}}
|
|
<br />
|
|
{{/if}}
|
|
</p>
|
|
<div class="flex gap-2 p-2">
|
|
<p title="{{RelTime}}" class="text-ellipsis whitespace-nowrap overflow-hidden">
|
|
{{RelTime}}
|
|
</p>
|
|
<div class="flex gap-1">
|
|
<img class="invert icon" src="/static/icons/PhArrowFatUp.svg" alt="Points" width="18px" height="18px">
|
|
{{Points}}
|
|
</div>
|
|
<div class="flex gap-1">
|
|
<img class="invert icon" src="/static/icons/PhEye.svg" alt="Views" width="18px" height="18px">
|
|
{{Views}}
|
|
</div>
|
|
</div>
|
|
</div> |