Skip to content

Commit

Permalink
update link field output.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jun 21, 2021
1 parent c2bb0b2 commit 62a046f
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<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>
<ul data-sly-list="${componentProperties.linksType}" class="list">
<li class="list__item ${componentProperties.linksType[item].value}">
<a href="${componentProperties.linksContent[itemList.index] @ context='attribute'}"
title="${componentProperties.linksType[item].title @ context='attribute'}"
>${componentProperties.linksType[item].title @ context='text'}</a>
</li>
</ul>
</div>
Expand Down

0 comments on commit 62a046f

Please sign in to comment.