Created
February 5, 2013 21:22
-
-
Save sniffdk/4717777 to your computer and use it in GitHub Desktop.
Get root sibling node in Umbraco v6
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
@{ | |
var root = Model.Content.AncestorOrSelf(1); | |
var repository = root.Sibling("Repository"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment