|
1 2 3 4 5 6 7 8 9 |
{var $anchors = $_modx->resource.anchors | json_decode} {if $anchors is array} <div class="descr-anchors"> <p><strong>Содержание:</strong></p> {foreach $anchors as $idx => $anchor} <a href="#{$anchor.id}">{$anchor.title}</a><br> {/foreach} </div> {/if} |
