/priv/skel/blog/templates/_article_chapeau.tpl

https://code.google.com/p/zotonic/ · Smarty Template · 10 lines · 10 code · 0 blank · 0 comment · 3 complexity · 7d845b7273806ef1cb3ebbd9d2ccca8e MD5 · raw file

  1. {% with id|menu_trail as parents %}
  2. {% if parents %}
  3. <h5 class="chapeau">
  4. {% for p in parents %}
  5. <a href="{{ m.rsc[p].page_url }}">{{ m.rsc[p].title }}</a>
  6. {% if not forloop.last %}&raquo;{% endif %}
  7. {% endfor %}
  8. </h5>
  9. {% endif %}
  10. {% endwith %}