From fdb163ac219fb48b6b1f9152787248a782d8ef96 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Thu, 6 Jul 2023 15:01:56 -0600 Subject: [PATCH] Adding support for better nested page templates --- src/main/java/org/computate/frFR/java/EcrirePageClasse.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/computate/frFR/java/EcrirePageClasse.java b/src/main/java/org/computate/frFR/java/EcrirePageClasse.java index f06bd83e..d0245200 100644 --- a/src/main/java/org/computate/frFR/java/EcrirePageClasse.java +++ b/src/main/java/org/computate/frFR/java/EcrirePageClasse.java @@ -1729,6 +1729,7 @@ else if("LocalDate".equals(entiteNomSimple)) { l(String.format("hackathonLabels: %s", hackathonLabels)); l("-->"); } + l("{{#eq classSimpleName \"", classeNomSimple, "\"}}"); l("{{#partial \"htmHead\"}}{{> htmHead", classePageNomSimple, "}}{{/partial}}"); l("{{#partial \"htmTitle\"}}{{> htmTitle", classePageNomSimple, "}}{{/partial}}"); l("{{#partial \"htmMeta\"}}{{> htmMeta", classePageNomSimple, "}}{{/partial}}"); @@ -1792,6 +1793,7 @@ else if("LocalDate".equals(entiteNomSimple)) { } } } + l("{{/eq}}"); l("{{> ", classeGenPageNomSimple, "}}"); }