Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 26, 2022 21:00
Embed
What would you like to do?
greppable6
Template6
File Code
JSTOWE/Lumberjack-Application
…/META6.json :25:
"Template6"
JSTOWE/Lumberjack-Application
…/Index.pm :45:
use Template6;
JSTOWE/Lumberjack-Application
…/Index.pm :49:
has Template6 $!template;
JSTOWE/Lumberjack-Application
…/Index.pm :53:
$!template = Template6.new;
JSTOWE/Lumberjack-Application
…/Provider.pm :7:
Lumberjack::Template::Provider - Template6::Provider to get template from %?RESOURCES
JSTOWE/Lumberjack-Application
…/Provider.pm :11:
This is a C<Template6::Provider> implementation that is used
JSTOWE/Lumberjack-Application
…/Provider.pm :16:
to C<Template6> later when I have worked out how to overcome
JSTOWE/Lumberjack-Application
…/Provider.pm :21:
use Template6::Provider;
JSTOWE/Lumberjack-Application
…/Provider.pm :23:
class Lumberjack::Template::Provider does Template6::Provider {
JSTOWE/Lumberjack-Application
…/020-template.t :6:
use Template6;
JSTOWE/Lumberjack-Application
…/020-template.t :12:
my $template = Template6.new;
JSTOWE/Lumberjack-Application
…/020-template.t :17:
does-ok $provider, Template6::Provider, "and it is a provider";
JSTOWE/META6
…/projects.json :688:
"Web::Template::Template6" : "lib/Web/Template/Template6.pm6",
JSTOWE/META6
…/projects.json :694:
"Template6",
JSTOWE/META6
…/projects.json :854:
"name" : "Template6",
JSTOWE/META6
…/projects.json :859:
"Template6::Provider::File" : "lib/Template6/Provider/File.pm6",
JSTOWE/META6
…/projects.json :860:
"Template6::Provider" : "lib/Template6/Provider.pm6",
JSTOWE/META6
…/projects.json :861:
"Template6" : "lib/Template6.pm6",
JSTOWE/META6
…/projects.json :862:
"Template6::Context" : "lib/Template6/Context.pm6",
JSTOWE/META6
…/projects.json :863:
"Template6::Stash" : "lib/Template6/Stash.pm6",
JSTOWE/META6
…/projects.json :864:
"Template6::Service" : "lib/Template6/Service.pm6",
JSTOWE/META6
…/projects.json :865:
"Template6::Parser" : "lib/Template6/Parser.pm6"
JSTOWE/META6
…/projects.json :6543:
"Template6",
JSTOWE/META6
…/projects.json :11004:
"Template6",
JSTOWE/META6
…/projects.json :11232:
"Template6"
SACOMO/Uzu
…/META6.json :25:
"Template6",
SACOMO/Uzu
…/README.md :11:
- Project folder structure (Template6)
SACOMO/Uzu
…/README.md :18:
* Template6
SACOMO/Uzu
…/README.md :45:
* **Templating**: Supports Template6 and Mustache template engines.
SACOMO/Uzu
…/README.md :135:
# - Template6: tt
SACOMO/Uzu
…/README.md :235:
Project folder structure (Template6)
SACOMO/Uzu
…/README.md :418:
## Template6
SACOMO/Uzu
…/README.md :460:
### Examples (Template6)
SACOMO/Uzu
…/README.md :536:
For `Template6`:
SACOMO/Uzu
…/README.md :570:
For `Template6`:
SACOMO/Uzu
…/README.md :595:
For `Template6`:
SACOMO/Uzu
…/README.md :621:
For `Template6`:
SACOMO/Uzu
…/README.md :738:
For `Template6`:
SACOMO/Uzu
…/README.md :780:
For `Template6`:
SACOMO/Uzu
…/README.md :796:
For `Template6`:
SACOMO/Uzu
…/README.md :914:
Template6 \
SACOMO/Uzu
…/README.md :945:
* Template6
SACOMO/Uzu
…/Render.pm6 :5:
use Template6;
SACOMO/Uzu
…/Render.pm6 :414:
Template6 :$t6
SACOMO/Uzu
…/Render.pm6 :422:
logger "Template6: {.Str}";
SACOMO/Uzu
…/Render.pm6 :534:
my Template6 $t6 .= new when $template_engine ~~ 'tt';
SACOMO/Uzu
…/02-build-tt.t :51:
is $t4_generated_html, $t4_expected_html, '[Template6] rendered HTML matches test';
SACOMO/Uzu
…/02-build-tt.t :56:
is $t5_generated_html, $t5_expected_html, '[Template6] rendered nested HTML matches test';
SACOMO/Uzu
…/02-build-tt.t :61:
is $t6_generated_html, $t6_expected_html, '[Template6] expose and utilize *_pages dict variables';
SACOMO/Uzu
…/02-build-tt.t :66:
is $t7_generated_html, $t7_expected_html, '[Template6] i18n language in uri for non-default languages';
SACOMO/Uzu
…/02-build-tt.t :71:
is $t8_generated_html, $t8_expected_html, '[Template6] use theme partial';
SACOMO/Uzu
…/02-build-tt.t :85:
ok $t9_generated_post_modified > $t9_generated_pre_modified, '[Template6] modifying a related page triggers page rebuild';
SACOMO/Uzu
…/02-build-tt.t :94:
ok $t10_generated_post_modified == $t10_generated_pre_modified, '[Template6] modifying an unrelated partial does not trigger page rebuild';
SACOMO/Uzu
…/02-build-tt.t :99:
is $t11_generated_html, $t11_expected_html, '[Template6] disable theme layout from page yaml';
SACOMO/Uzu
…/02-build-tt.t :104:
is $t12_generated_html, $t12_expected_html, '[Template6] embedded partials can access page vars';
SACOMO/Uzu
…/02-build-tt.t :109:
is $t13_generated_html, $t13_expected_html, '[Template6] deeply embedded partials can access page vars';
SACOMO/Uzu
…/02-build-tt.t :113:
is $t14_generated_html, $t14_expected_html, '[Template6] multi-theme build with layout specific varibles';
SACOMO/Uzu
…/02-build-tt.t :116:
nok $t15_excluded_page, '[Template6] multi-theme exclude page for theme via config';
SACOMO/Uzu
…/02-build-tt.t :119:
nok $t16_excluded_dir, '[Template6] exclude directory from build via config';
SACOMO/Uzu
…/02-build-tt.t :122:
nok $t17_excluded_file, '[Template6] exclude file from build via config';
SACOMO/Uzu
…/02-build-tt.t :126:
ok $t18_pre_command, '[Template6] pre_command via config';
SACOMO/Uzu
…/02-build-tt.t :129:
ok $t19_post_command, '[Template6] post_command via config';
SACOMO/Uzu
…/02-build-tt.t :160:
ok $tmp_build_path.IO.child('ja').child('related.html').e, '[Template6] i18n language for non-default languages (scheme: directory)';
jonathanstowe/Lumberjack-Application
…/META6.json :24:
"Template6"
jonathanstowe/Lumberjack-Application
…/Index.pm :45:
use Template6;
jonathanstowe/Lumberjack-Application
…/Index.pm :49:
has Template6 $!template;
jonathanstowe/Lumberjack-Application
…/Index.pm :53:
$!template = Template6.new;
jonathanstowe/Lumberjack-Application
…/Provider.pm :7:
Lumberjack::Template::Provider - Template6::Provider to get template from %?RESOURCES
jonathanstowe/Lumberjack-Application
…/Provider.pm :11:
This is a C<Template6::Provider> implementation that is used
jonathanstowe/Lumberjack-Application
…/Provider.pm :16:
to C<Template6> later when I have worked out how to overcome
jonathanstowe/Lumberjack-Application
…/Provider.pm :21:
use Template6::Provider;
jonathanstowe/Lumberjack-Application
…/Provider.pm :23:
class Lumberjack::Template::Provider does Template6::Provider {
jonathanstowe/Lumberjack-Application
…/020-template.t :6:
use Template6;
jonathanstowe/Lumberjack-Application
…/020-template.t :12:
my $template = Template6.new;
jonathanstowe/Lumberjack-Application
…/020-template.t :17:
does-ok $provider, Template6::Provider, "and it is a provider";
nunorc/p6-Pekyll
…/.travis.yml :6:
- panda install XML Syndicate Template6
nunorc/p6-Pekyll
…/META6.json :12:
"depends" : [ "Template6", "Syndication" ],
supernovus/perl6-web-app-ballet
…/README.md :36:
* Template6
supernovus/perl6-web-app-ballet
…/Ballet.pm6 :31:
set-template-engine('Template6', $path);
supernovus/perl6-web-app-ballet
…/Ballet.pm6 :70:
## We default to Template6 is left unspecified.
supernovus/perl6-web-app-mvc
…/README.md :36:
"type" : "Template6",
supernovus/perl6-web-app-mvc
…/README.md :185:
* 'template6' or 'tt' -- Use the Template6 engine.
supernovus/perl6-web-app-mvc
…/Controller.pm6 :18:
require Web::Template::Template6;
supernovus/perl6-web-app-mvc
…/Controller.pm6 :19:
$!views = ::('Web::Template::Template6').new;
supernovus/perl6-web-app-mvc
…/app.json :7:
"type" : "Template6",
supernovus/perl6-web-template
…/META6.json :8:
"Template6",
supernovus/perl6-web-template
…/META6.json :16:
"Web::Template::Template6" : "lib/Web/Template/Template6.pm6"
supernovus/perl6-web-template
…/README.md :12:
* Template6
supernovus/perl6-web-template
…/README.md :15:
Wrapper is Web::Template::Template6
supernovus/perl6-web-template
…/Template6.pm6 :3:
class Web::Template::Template6 does Web::Template
supernovus/perl6-web-template
…/Template6.pm6 :5:
use Template6;
supernovus/perl6-web-template
…/Template6.pm6 :7:
has $!engine = Template6.new;
supernovus/perl6-web-template
…/Template6.pm6 :10:
{ ## Template6 uses named parameters only.
supernovus/template6
…/META6.json :3:
"name" : "Template6",
supernovus/template6
…/META6.json :7:
"Template6" : "lib/Template6.pm6",
supernovus/template6
…/META6.json :8:
"Template6::Parser" : "lib/Template6/Parser.pm6",
supernovus/template6
…/META6.json :9:
"Template6::Service" : "lib/Template6/Service.pm6",
supernovus/template6
…/META6.json :10:
"Template6::Context" : "lib/Template6/Context.pm6",
supernovus/template6
…/META6.json :11:
"Template6::Stash" : "lib/Template6/Stash.pm6",
supernovus/template6
…/META6.json :12:
"Template6::Provider" : "lib/Template6/Provider.pm6",
supernovus/template6
…/META6.json :13:
"Template6::Provider::File" : "lib/Template6/Provider/File.pm6",
supernovus/template6
…/META6.json :14:
"Template6::Provider::String" : "lib/Template6/Provider/String.pm6"
supernovus/template6
…/README.md :1:
# Template6: A Template Engine for Perl 6 #
supernovus/template6
…/README.md :4:
Template6 is a simple template engine designed to be
supernovus/template6
…/README.md :63:
* Add 'absolute' and 'relative' options to Template6::Provider::File
supernovus/template6
…/README.md :80:
I would also like to investigate the potential for an alternative to Template6::Parser that
supernovus/template6
…/Template6.pm6 :3:
unit class Template6;
supernovus/template6
…/Template6.pm6 :5:
use Template6::Service;
supernovus/template6
…/Template6.pm6 :14:
$!service = Template6::Service.new(|%args);
supernovus/template6
…/Context.pm6 :3:
unit class Template6::Context;
supernovus/template6
…/Context.pm6 :5:
use Template6::Parser;
supernovus/template6
…/Context.pm6 :6:
use Template6::Stash;
supernovus/template6
…/Context.pm6 :7:
use Template6::Provider::File;
supernovus/template6
…/Context.pm6 :8:
use Template6::Provider::String;
supernovus/template6
…/Context.pm6 :23:
## The default provider is Template6::Provider::File
supernovus/template6
…/Context.pm6 :35:
$!parser = Template6::Parser.new(|%args);
supernovus/template6
…/Context.pm6 :41:
$!stash = Template6::Stash.new(|%args);
supernovus/template6
…/Context.pm6 :47:
%!providers<file> = Template6::Provider::File.new(|%args);
supernovus/template6
…/Context.pm6 :48:
%!providers<string> = Template6::Provider::String.new(|%args);
supernovus/template6
…/Context.pm6 :52:
method add-provider ($name, Template6::Provider $object) {
supernovus/template6
…/Parser.pm6 :4:
unit class Template6::Parser;
supernovus/template6
…/Provider.pm6 :3:
unit role Template6::Provider;
supernovus/template6
…/File.pm6 :3:
use Template6::Provider;
supernovus/template6
…/File.pm6 :5:
unit class Template6::Provider::File does Template6::Provider;
supernovus/template6
…/String.pm6 :3:
use Template6::Provider;
supernovus/template6
…/String.pm6 :5:
unit class Template6::Provider::String does Template6::Provider;
supernovus/template6
…/Service.pm6 :3:
unit class Template6::Service;
supernovus/template6
…/Service.pm6 :5:
use Template6::Context;
supernovus/template6
…/Service.pm6 :21:
$!context = Template6::Context.new(|%args);
supernovus/template6
…/Stash.pm6 :3:
unit class Template6::Stash;
supernovus/template6
…/01-simple.t :6:
use Template6;
supernovus/template6
…/01-simple.t :10:
my $t6 = Template6.new;
supernovus/template6
…/02-for.t :6:
use Template6;
supernovus/template6
…/02-for.t :10:
my $t6 = Template6.new;
supernovus/template6
…/03-if.t :6:
use Template6;
supernovus/template6
…/03-if.t :10:
my $t6 = Template6.new;
supernovus/template6
…/04-nest.t :6:
use Template6;
supernovus/template6
…/04-nest.t :10:
my $t6 = Template6.new;
supernovus/template6
…/05-includes.t :6:
use Template6;
supernovus/template6
…/05-includes.t :10:
my $t6 = Template6.new;
supernovus/template6
…/06-comment.t :6:
use Template6;
supernovus/template6
…/06-comment.t :10:
my $t6 = Template6.new;
supernovus/template6
…/07-string-templates.t :6:
use Template6;
supernovus/template6
…/07-string-templates.t :10:
my $t6 = Template6.new;
stmuk/p6-task-galaxy
…/META6.json :49:
"Template6",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment