This commit is contained in:
video-prize-ranch 2023-08-10 16:16:31 +00:00
parent 34da56c001
commit 928f5145a4
No known key found for this signature in database
1 changed files with 8 additions and 2 deletions

View File

@ -74,7 +74,7 @@
</div>
{{#if post.tags}}
<div class="flex gap-2 my-2 flex-flow-wrap">
<div class="flex gap-2 my-2 flex-wrap">
<style nonce="{{nonce}}">
{{#each post.tags}}
.{{this.BackgroundId}} { background-image: url('{{this.Background}}') }
@ -83,7 +83,13 @@
{{#each post.tags}}
<a href="/t/{{this.Tag}}">
<div class="rounded-md p-4 min-w-[110px] bg-slate-500 {{this.BackgroundId}}">
<p class="font-bold text-white text-center">{{this.Display}}</p>
<p class="font-bold text-white text-center">
{{#if tag.Display}}
{{this.Display}}
{{else}}
{{this.Tag}}
{{/if}}
</p>
</div>
</a>
{{/each}}