added author tags

This commit is contained in:
2025-01-16 00:35:46 +11:00
parent af9c4ad250
commit 9539d8fc73
3 changed files with 15 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ document.addEventListener('DOMContentLoaded', async () => {
<img class="material-preview" src="${material.preview}" alt="${material.name}">
<div class="material-info">
<h3>${material.name}</h3>
<p class="author">${material.author}</p>
<p>${material.description}</p>
<div class="material-tags">
${material.categories.map(cat => `<span class="tag" data-tag="${cat}">${cat}</span>`).join(' ')}