How to view the structure type of variables in Anqi CMS template?
The dump filter can print out the structure, type, and value of a variable.
How to use
How to use dump filter:
{{ obj|dump }}
For example, to view the structure of bannerItem, you can write it like this:
{{ item|dump }}
# Show results
&config.BannerItem{Logo:"http://127.0.0.1:8001/uploads/202309/14/eba5aa9dc4c45d18.webp%22, Id:1, Link:"", Alt:"Hello", Description:"", Type:"default"}
