Last active
March 30, 2017 17:09
-
-
Save heervisscher/6a947adf9e357a8567b78157781f8c19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://issues.apache.org/jira/browse/SLING-5813 --> | |
<sly data-sly-test.linkToPage="${ '{0}/jcr:content' @ format=[ properties.linkTo] }"/> | |
<sly data-sly-use.linkPage="${ linkToPage }"/> | |
<h2>${ 'dd-MM-yyyy' @ format=linkPage.cq:lastModified}</h2> | |
<h2>${ '#.00' @ format=300}</h2> | |
<!-- https://issues.apache.org/jira/browse/SLING-5632 --> | |
<a href="${ properties.linkTo @ extension = 'html'}">Link to a page</a> | |
<!-- https://issues.apache.org/jira/browse/SLING-5812 --> | |
<sly data-sly-include="${'script.html' @ requestAttributes=helper.attributesMap}"/> | |
<!-- htl plugin --> | |
<!-- example : https://github.com/heervisscher/htl-examples/blob/master/ui.apps/pom.xml --> | |
<plugin> | |
<!-- docpage here: https://sling.apache.org/documentation/development/htl-maven-plugin.html --> | |
<groupId>org.apache.sling</groupId> | |
<artifactId>htl-maven-plugin</artifactId> | |
<version>1.0.6</version> | |
<configuration> | |
<sourceDirectory>${basedir}/src/main/content/jcr_root</sourceDirectory> | |
</configuration> | |
<executions> | |
<execution> | |
<id>validate-scripts</id> | |
<goals> | |
<goal>validate</goal> | |
</goals> | |
<phase>compile</phase> | |
</execution> | |
</executions> | |
</plugin> | |
AutoCloseable | |
OSGi annotations | |
Exporter - Sling Models | |
SDI - Sling Dynamic Include | |
Page#getLanguage | |
allowProxy with clientlibs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment