You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently came across the need to be able to specify the Title for the "grandparent" node of the current node.
My specific need involved drilling into archived content by year, month, and day. For example, given the snippet below, you might have a breadcrumb similar to: Archives / 2014 / November / 28th.
[SiteMapTitle("ArchiveDay")]
[SiteMapTitle("ArchiveMonth", Target = AttributeTarget.ParentNode)]
[SiteMapTitle("ArchiveYear", Target = AttributeTarget.GrandparentNode)]
[Route("archives/{year}/{month}/{day}")]
public async Task<ActionResult> PostsByDay(int year, int month, int day)
{
...
Is there any interest in adding this functionality?
The text was updated successfully, but these errors were encountered:
I recently came across the need to be able to specify the Title for the "grandparent" node of the current node.
My specific need involved drilling into archived content by year, month, and day. For example, given the snippet below, you might have a breadcrumb similar to:
Archives / 2014 / November / 28th
.Is there any interest in adding this functionality?
The text was updated successfully, but these errors were encountered: