You are here

flippy.html.twig in Flippy 8

Default theme implementation for the flippy pager.

Available variables:

  • node: The current node.
  • first: The first pager link.
  • prev: The previous pager link.
  • random: The random pager link.
  • next: The first pager link.
  • last: The last pager link.

File

templates/flippy.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the flippy pager.
  5. *
  6. * Available variables:
  7. * - node: The current node.
  8. * - first: The first pager link.
  9. * - prev: The previous pager link.
  10. * - random: The random pager link.
  11. * - next: The first pager link.
  12. * - last: The last pager link.
  13. *
  14. * @see template_preprocess_flippy()
  15. *
  16. * @ingroup themeable
  17. */
  18. #}
  19. <ul class="flippy">
  20. {% if first %}
  21. <li class="flippy-first">{{ first }}</li>
  22. {% endif %}
  23. {% if prev %}
  24. <li class="flippy-previous">{{ prev }}</li>
  25. {% endif %}
  26. {% if random %}
  27. <li class="flippy-random">{{ random }}</li>
  28. {% endif %}
  29. {% if next %}
  30. <li class="flippy-next">{{ next }}</li>
  31. {% endif %}
  32. {% if last %}
  33. <li class="flippy-last">{{ last }}</li>
  34. {% endif %}
  35. </ul>