You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/07/23 14:51:35 UTC
[sling-site] branch master updated: SLING-5314 document basename
option
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new def14e2 SLING-5314 document basename option
new 5627fe6 Merge branch 'master' of git@github.com:apache/sling-site.git
def14e2 is described below
commit def14e2b3213f491c38103767af34d04a1c161cc
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Jul 23 16:51:05 2021 +0200
SLING-5314 document basename option
---
.../jbake/content/documentation/bundles/scripting/scripting-htl.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md b/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md
index 5574432..3beca41 100644
--- a/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md
+++ b/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md
@@ -62,6 +62,11 @@ The Sling HTL Scripting engine fully complies with the [HTML Template Language S
## Expression Options
+### I18n
+
+In addition to the options defined in [HTL Spec 1.2.3](https://github.com/adobe/htl-spec/blob/1.4/SPECIFICATION.md#123-i18n) the option `basename` is supported to set the basename of the used [Sling i18n Resource bundle](../internationalization-support-i18n.html#resourcebundle-with-base-names) ([SLING-5314](https://issues.apache.org/jira/browse/SLING-5314)).
+
+
### Format Date
In addition to the regular patterns defined in [HTL Spec 1.2.2.2](https://github.com/adobe/htl-spec/blob/1.4/SPECIFICATION.md#1222-dates) the following special formatting patterns are supported ([SLING-9983](https://issues.apache.org/jira/browse/SLING-9983)) for formatting dates only (disregarding time) in a decent format for the used locale.