[
https://issues.apache.org/jira/browse/SLING-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605639#action_12605639
]
Bertrand Delacretaz commented on SLING-466:
-------------------------------------------
Note that in the above template,
<title><%= currentNode.title %></title>
could as well be <title/>, the contents of the title tag are ignored and
replaced by the value computed by HtmlCodeGenerator.getTitle().
> JST scripting engine: render indexable HTML and separate javascript code
> ------------------------------------------------------------------------
>
> Key: SLING-466
> URL: https://issues.apache.org/jira/browse/SLING-466
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Bertrand Delacretaz
> Priority: Minor
>
> The JST scripting engine should output a default HTML rendering, meant to be
> indexed by search engines, with a <script> element that points to a separate
> javascript resource to render the page.
> The idea is that the javascript code will be cached by client browsers, being
> the same for all resources that have the same sling:resourceType.
> The HTML rendering should include a meaningful <title> element, using the
> value of a property named "title" or "description", if present, or the node
> name if not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.