Advertisement
niammuddin

Relate Terms SPP 1.7.1

Feb 28th, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <div style="border-bottom:2px solid #ddd;font-size:18px;padding-bottom:10px;margin-bottom:10px;">
  2. Relate Article
  3. </div>
  4. {% api %}
  5. <div style='text-align: justify;'>
  6. <ul>
  7. {% for index, item in api %}{% if index > 2 %}{% if index < 11 %}
  8. <li>
  9. <a href="{{ item.title | build_permalink_for 'first_word' }}" target="_blank">{{item.title | remove '...' | trim | strtolower | ucfirst }}</a><div>
  10. {{item.description | remove '...' | trim | strtolower | ucfirst }}.</div></li>
  11. {% endif %}{% endif %}
  12. {% endfor %}
  13. </ul>
  14. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement