Skip to content

Instantly share code, notes, and snippets.

@carlosmartinezt
Created April 23, 2014 15:51
Show Gist options
  • Save carlosmartinezt/11220889 to your computer and use it in GitHub Desktop.
Save carlosmartinezt/11220889 to your computer and use it in GitHub Desktop.
@if (Model.Content.Parent != null && Model.Content.Level > 2)
{
<a href="@Model.Content.Parent.Url" class="button back-button">Back</a>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment