joerghoh commented on code in PR #199:
URL: https://github.com/apache/sling-site/pull/199#discussion_r2108973689


##########
src/main/jbake/content/documentation/the-sling-engine/mappings-for-resource-resolution.md:
##########
@@ -265,6 +265,8 @@ The String Interpolation works with any part of the etc-map 
tree.
 
 The property `sling:alias` may be set on any resource to indicate an alias 
name for the resource. For example the resource `/content/visitors` may have 
the `sling:alias` property set to `besucher` allowing the resource to be 
addressed in an URL as `/content/besucher` as well as the original path 
`/content/visitors`. The property `sling:alias` may have multiple values. The 
first value is used for outgoing mapping, i.e. is the *preferred name* used in 
links generated by Sling.
 
+Note that `jcr:content` nodes are treated differently. Aliases specified on 
these nodes apply to the *parent* node. Setting alias properties both on 
`jcr:content` and the parent node is discouraged (and results in the alias 
lists of both nodes to be combined).

Review Comment:
   ```suggestion
   Note that `jcr:content` nodes are treated differently. Aliases specified on 
these nodes apply to the *parent* node. Setting alias properties both on 
`jcr:content` and the parent node is discouraged (and results in the alias 
lists of both nodes to be concatenated).
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to