Fix link generation for source code footer link

This commit is contained in:
Slendy 2023-10-30 03:22:48 -05:00
commit 0de5edca6e
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -212,7 +212,8 @@
·
@if (!string.IsNullOrWhiteSpace(remoteUrl))
{
<a href="https://@remoteUrl" target="_blank">
if (!remoteUrl.StartsWith("https://")) remoteUrl = $"https://{remoteUrl}";
<a href="@remoteUrl" target="_blank">
Source Code
</a>
}