mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-07 04:18:38 +00:00
Fix link generation for source code footer link
This commit is contained in:
parent
b8324d0c10
commit
0de5edca6e
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@
|
||||||
·
|
·
|
||||||
@if (!string.IsNullOrWhiteSpace(remoteUrl))
|
@if (!string.IsNullOrWhiteSpace(remoteUrl))
|
||||||
{
|
{
|
||||||
<a href="https://@remoteUrl" target="_blank">
|
if (!remoteUrl.StartsWith("https://")) remoteUrl = $"https://{remoteUrl}";
|
||||||
|
<a href="@remoteUrl" target="_blank">
|
||||||
Source Code
|
Source Code
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue