Fix privacy link (#13262)
This commit is contained in:
parent
2061713b47
commit
55b271227d
|
|
@ -56,7 +56,14 @@
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer border-top pl-3 text-muted">
|
<footer class="footer border-top pl-3 text-muted">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
© @DateTime.Now.Year - @Environment.ApplicationName - <a asp-area="" asp-page="Privacy">Privacy</a>
|
© @DateTime.Now.Year - @Environment.ApplicationName -
|
||||||
|
@{
|
||||||
|
var foundPrivacy = Url.Page("/Privacy", new { area = "" });
|
||||||
|
}
|
||||||
|
@if (foundPrivacy != null)
|
||||||
|
{
|
||||||
|
<a asp-area="" asp-page="/Privacy">Privacy</a>
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue