Skip to content

Commit

Permalink
SEO: Marked product list filter option links as nofollow
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Herzog committed May 8, 2024
1 parent d5b11e8 commit 8c3b48a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
var sortName = (Model is ProductSummaryModel && sort.Key == (int)ProductSortingEnum.Relevance) ? Model.RelevanceSortOrderName : null;
var isSelected = sort.Key == Model.CurrentSortOrder;
<a href="@Display.ModifyQueryString(null, $"?o={sort.Key}", removeParamName: "i")" class="dropdown-item" attr-class='(isSelected, "fwm")'>
<a href="@Display.ModifyQueryString(null, $"?o={sort.Key}", removeParamName: "i")" class="dropdown-item" attr-class='(isSelected, "fwm")' rel="nofollow">
@(sortName ?? sort.Value)
</a>
}
Expand Down

0 comments on commit 8c3b48a

Please sign in to comment.