{"repo":"raku-community-modules/Template6","free":true,"listed":false,"github":"https://github.com/raku-community-modules/Template6","clone":"git clone https://github.com/raku-community-modules/Template6.git","description":"Template6: A TT-like template engine for Raku","language":"Raku","stars":13,"topics":["raku","template"],"license":"Artistic-2.0","category":"saas-starters-boilerplates","readme_excerpt":"NAME ==== Template6 - A Template Engine for Raku SYNOPSIS ======== DESCRIPTION =========== Inspired by Template Toolkit from Perl, Template6 is a simple template engine designed to be a content-neutral template language. This project does not intend to create an exact clone of Template Toolkit. Some features from TT are not planned for inclusion, and likewise, some feature will be included that are not in TT. Not all features will work the same either. Currently implemented features ------------------------------ GET and SET statements, including implicit versions. [% get varname %] [% varname %] [% set varname = value %] [% varname = value %] FOR statement. This replaces the FOREACH statement in TT2. It can be used in one of four ways: [% for listname as itemname %] [% for listname - itemname %] [% for itemname in listname %] [% for itemname = listname %] If used with Hashes, you'll need to query the .key or .value accessors. IF/ELSIF/ELSE/UNLESS statements. These are very simplistic at the moment, but work for basic tests. Querying nested data structures using a simple dot operator syntax. CALL and DEFAULT statements. INSERT, INCLUDE and PROCESS statements. Differences with Template Toolkit --------------------------------- You should use explicit quotes, including in INSERT/INCLUDE/PROCESS directives. UNLESS-ELSE is not supported - Raku also doesn't support this syntax All statement directives are case insensitive. There are no plans for the INTERPOLATE option/style. Anyth","default_branch":null,"files":null,"tree":[],"storefront":"/r/raku-community-modules","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/raku-community-modules/Template6/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}