From c69c658d06dab9a1bf04f77e7902ff3f07c94c3e Mon Sep 17 00:00:00 2001
From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
Date: Fri, 30 Dec 2022 17:51:26 +0100
Subject: [PATCH] fix: updated base template to handlebars (#1463)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* fix: we need to update that template to handlebars
the previous syntax might have been fine for mustache, but we should both explicitly use the block helpers as well as mind the context of variables within each helpers.
* chore: additionally updating the template type
from mustache to handlebars; wouldn't hurt …
* Update index.html
* fix: this ones actually an iteration
* Revert "fix: this ones actually an iteration"
This reverts commit 7def87d96cb301d1430601ca3327d5896e20f17f.
* fix: we actually need to the previous declaration here
* chore: previous formatting
* chore: changed my mind again …
---
packages/uikit-workshop/src/html/index.html | 2 +-
.../src/html/partials/base-template.html | 68 +++++++++----------
2 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/packages/uikit-workshop/src/html/index.html b/packages/uikit-workshop/src/html/index.html
index 00b7b7a21..b5f8174d1 100644
--- a/packages/uikit-workshop/src/html/index.html
+++ b/packages/uikit-workshop/src/html/index.html
@@ -26,7 +26,7 @@
The {{ patternName }} - pattern contains the following patterns: {{# lineage }} + pattern contains the following patterns: {{#each lineage }} - {{ lineagePattern }} {{# lineageState }} - {{/ lineageState }} + {{/if }} - {{# hasComma }}, {{/ hasComma }} {{/ lineage }} + {{#if hasComma }}, {{/if }} {{/each }}
- {{/ lineageExists }} {{# lineageRExists }} + {{/if }} {{#if lineageRExists }}The {{ patternName }} - pattern is included in the following patterns: {{# lineageR }} + pattern is included in the following patterns: {{#each lineageR }} - {{ lineagePattern }} {{# lineageState }} - {{/ lineageState }} + {{/if }} - {{# hasComma }}, {{/ hasComma }} {{/ lineageR }} + {{#if hasComma }}, {{/if }} {{/each }}
- {{/ lineageRExists }} {{# annotationExists }} + {{/if }} {{#if annotationExists }}