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> </div>
{{#if post.tags}} {{#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}}"> <style nonce="{{nonce}}">
{{#each post.tags}} {{#each post.tags}}
.{{this.BackgroundId}} { background-image: url('{{this.Background}}') } .{{this.BackgroundId}} { background-image: url('{{this.Background}}') }
@ -83,7 +83,13 @@
{{#each post.tags}} {{#each post.tags}}
<a href="/t/{{this.Tag}}"> <a href="/t/{{this.Tag}}">
<div class="rounded-md p-4 min-w-[110px] bg-slate-500 {{this.BackgroundId}}"> <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> </div>
</a> </a>
{{/each}} {{/each}}