QuestionQ20
Given a scenario, identify how to implement Sling Models and HTLThe following anchor tag does not resolve:
<a href =“item.path” >\{item.name\}</a>
On further inspection, the developer sees that no .html is appended to the end of the URL. What might be a potential fix for this issue?
- A <a href=“item.path@extension =' html'” >{item.name}</a>
- B <a href=“item.path@context =' unsafe, fragment = item.name” >{item.name}</a>
- C <a href=“item.path@append =' html'” >{item.name}</a>
- D <a href=“item.path@context =' html'” >{item.name}</a>
Community Discussion