Skip to content

Commit 06382ff

Browse files
authored
Update default.txp
1 parent db51985 commit 06382ff

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

src/templates/forms/article/default.txp

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,9 @@
7070
<txp:text item="categories" />
7171
</strong>
7272
<span itemprop="keywords">
73-
<txp:if_article_category number="1">
74-
<txp:if_article_category number="2">
75-
<txp:category1 title link />,
76-
<txp:category2 title link />
77-
<txp:else />
78-
<txp:category1 title link />
79-
</txp:if_article_category>
80-
<txp:else />
81-
<txp:category2 title link />
82-
</txp:if_article_category>
73+
<txp:category_list categories='<txp:category1 />,<txp:category2 />' children="0" break=", " trim>
74+
<txp:category title link />
75+
</txp:category_list>
8376
</span>
8477
</txp:if_article_category>
8578
</p>

0 commit comments

Comments
 (0)