Skip to content

Commit

Permalink
Merge pull request madskristensen#41 from tiesmaster/40/fix-bug-in-pa…
Browse files Browse the repository at this point in the history
…ge-title

Fix page title interpolation
  • Loading branch information
madskristensen authored May 24, 2022
2 parents 34c1ef5 + 7cdff79 commit f8110e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/Search.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@model SearchModel

@{
ViewData["Title"] = "Search results for '@Model.Term'";
ViewData["Title"] = $"Search results for '{Model.Term}'";
}

<h1>@Model.Packages.Count() results for <em>@Model.Term</em></h1>
Expand Down

0 comments on commit f8110e1

Please sign in to comment.