Remove unncessary fields from docs templates and add category article order

This commit is contained in:
thiloho
2024-08-29 20:09:37 +02:00
parent e5b55baaef
commit 042ae24130
9 changed files with 169 additions and 40 deletions

View File

@@ -76,10 +76,10 @@
</details>
<ul class="unpadded">
{#each data.articles as { id, title, docs_category } (id)}
{#each data.articles as { id, title, article_weight, docs_category } (id)}
<li class="article-card">
<p>
<strong>{title}</strong>
<strong>{title} {article_weight ? `(${article_weight})` : ""}</strong>
{#if docs_category?.category_name}
<br />
<small>