ds-site/Resources/Private/Partials/TopicList.html
Daniel Siepmann 394b38beb3 Streamline routing
Use _uid suffix when uids are used.
Add test to ensure topics are working as expected (regarding routing).
2021-09-13 08:51:49 +02:00

15 lines
576 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<nav>
<h1>{headline}</h1>
<ul>
<f:for each="{topics}" as="topic">
<f:if condition="{topic.data.title}">
<li>
<a href="{f:uri.page(pageUid: 11, additionalParams: {topic_uid: topic.data.uid})}">{topic.data.title}{f:if(condition: topic.data.count, then: ' ({topic.data.count})')}</a>
</li>
</f:if>
</f:for>
</ul>
</nav>
</html>