liquid templating

  1. What is a template engine?
  2. Install
  3. Liquid use-cases
  4. Liquid Hello World
  5. Liquid Hello World with variable
  6. Liquid Hello World read template from file
  7. Liquid Hello World embed template file
  8. Liquid flow control: if - else
  9. Liquid flow control: else if written as elsif
  10. Liquid flow control: case/when
  11. Liquid passing more complex data
  12. Liquid for loop passing a vector or an array
  13. Liquid vector of tuples
  14. Liquid HashMap
  15. Liquid for loop with if conditions
  16. Liquid with struct
  17. Liquid with Option in a struct
  18. Liquid include
  19. Liquid include header and footer
  20. Liquid layout (include and capture)
  21. Liquid assign to variable in template
  22. Liquid filters on strings: upcase, downcase, capitalize
  23. Liquid filters on numbers: plus, minus
  24. Liquid filters: first, last
  25. Liquid filter reverse array
  26. Liquid for loop: limit, offset, reversed
  27. Liquid comma between every two elements (forloop.last)
  28. Liquid: create your own filter: reverse a string
  29. Liquid: create your own filter: commafy
  30. Liquid: length of string, size of vector
  31. Liquid: Embed HTML - escape HTML
  32. Liquid tags
  33. Liquid create your own tag without parameters
  34. Liquid create your own tag with a single parameter
  35. Liquid create your own tag with many values
  36. Liquid create your own tag accepting two numbers
  37. Liquid create your own tag with attribute as key=value pair
  38. Liquid create tag that uses scalar values passed to the render function
  39. Liquid create tag that uses array of values passed to the render function (latest, limit, tag)
  40. Liquid create include tag that overrides existing include tag
  41. Liquid TODO