This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git.
from 2ef9c22 +query
add 570e3dd Minimal Handlebars server-side templating engine
add c455c7a Adapt templates for server-side Handlebars rendering
No new revisions were added by this update.
Summary of changes:
org.apache.sling.graphql.samples.website/pom.xml | 46 ++++++++
.../handlebars/HandlebarsScriptEngine.java | 125 +++++++++++++++++++++
.../handlebars/HandlebarsScriptEngineConfig.java | 55 +++++++++
.../handlebars/HandlebarsScriptEngineFactory.java | 80 +++++++++++++
.../samples/article/{article.html => article.hbs} | 31 +----
.../samples/section/{section.html => section.hbs} | 24 +---
.../apps/samples/tag/{tag.html => tag.hbs} | 24 +---
.../features/feature-graphql-example-website.json | 3 +-
8 files changed, 311 insertions(+), 77 deletions(-)
create mode 100644
org.apache.sling.graphql.samples.website/src/main/java/org/apache/sling/scripting/handlebars/HandlebarsScriptEngine.java
create mode 100644
org.apache.sling.graphql.samples.website/src/main/java/org/apache/sling/scripting/handlebars/HandlebarsScriptEngineConfig.java
create mode 100644
org.apache.sling.graphql.samples.website/src/main/java/org/apache/sling/scripting/handlebars/HandlebarsScriptEngineFactory.java
rename
org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/article/{article.html
=> article.hbs} (70%)
rename
org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/section/{section.html
=> section.hbs} (71%)
rename
org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/tag/{tag.html
=> tag.hbs} (72%)