- 1. Liquid templating
- 2. liquid templating
- 2.1. What is a template engine?
- 2.2. Install
- 2.3. Liquid use-cases
- 2.4. Liquid Hello World
- 2.5. Liquid Hello World with variable
- 2.6. Liquid Hello World read template from file
- 2.7. Liquid Hello World embed template file
- 2.8. Liquid flow control: if - else
- 2.9. Liquid flow control: else if written as elsif
- 2.10. Liquid flow control: case/when
- 2.11. Liquid passing more complex data
- 2.12. Liquid for loop passing a vector or an array
- 2.13. Liquid vector of tuples
- 2.14. Liquid HashMap
- 2.15. Liquid for loop with if conditions
- 2.16. Liquid with struct
- 2.17. Liquid with Option in a struct
- 2.18. Liquid include
- 2.19. Liquid include header and footer
- 2.20. Liquid layout (include and capture)
- 2.21. Liquid assign to variable in template
- 2.22. Liquid filters on strings: upcase, downcase, capitalize
- 2.23. Liquid filters on numbers: plus, minus
- 2.24. Liquid filters: first, last
- 2.25. Liquid filter reverse array
- 2.26. Liquid for loop: limit, offset, reversed
- 2.27. Liquid comma between every two elements (forloop.last)
- 2.28. Liquid: create your own filter: reverse a string
- 2.29. Liquid: create your own filter: commafy
- 2.30. Liquid: length of string, size of vector
- 2.31. Liquid: Embed HTML - escape HTML
- 2.32. Liquid tags
- 2.33. Liquid create your own tag without parameters
- 2.34. Liquid create your own tag with a single parameter
- 2.35. Liquid create your own tag with many values
- 2.36. Liquid create your own tag accepting two numbers
- 2.37. Liquid create your own tag with attribute as key=value pair
- 2.38. Liquid create tag that uses scalar values passed to the render function
- 2.39. Liquid create tag that uses array of values passed to the render function (latest, limit, tag)
- 2.40. Liquid create include tag that overrides existing include tag
- 2.41. Liquid sort array or vector
- 2.42. Liquid TODO