Skip to content

Commit

Permalink
add field for links content output.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jun 21, 2021
1 parent aca3025 commit 64b4399
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template data-sly-template.field="${@ componentProperties}">
<div data-sly-test="${componentProperties.linksType && componentProperties.linksContent}"
class="card-links">
<ul data-sly-list.linkitem="${componentProperties.category}"
class="list">
<li class="list__item ${componentProperties.linksType[linkitem].value}">
<a href="${componentProperties.linksContent[linkitem] @ context='attribute'}"
title="${componentProperties.linksType[linkitem].title @ context='attribute'}"
>${componentProperties.linksType[linkitem].title @ context='text'}</a>
</li>
</ul>
</div>
</template>

0 comments on commit 64b4399

Please sign in to comment.