Created
June 1, 2015 12:02
-
-
Save Benjaminsson/c8cc4fb0c573dab2653c to your computer and use it in GitHub Desktop.
Set unique class and id on body tag with Umbraco Razor
This file contains 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
<body id="@CurrentPage.Name" class="@CurrentPage.DocumentTypeAlias.ToLower()"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment