As there are many flavours in webdev our aim is to inlcude a few different templating languages into Cradle CMS. As a start, Liquid is used as templating language. It is designed for server side rendering and it supports objects, variables, filters, loops and conditions. In Cradle CMS Liquid is used on HTML, CSS and JavaScript files to build dynamic websites. Liquid is similar to Django, Twig and Jinja templating.
All theme files ending with .liquid
can contain code which is executed server-side. It's also possible to embed liquid code in the content editors for pages, blogs, articles, collections and products.
- Under theme view in admin you can access theme settings and the code editor.
- Checkout our Docs on how the themes are edited.