We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f333101 commit 8b205d6Copy full SHA for 8b205d6
ProjectLighthouse.Servers.Website/Pages/LandingPage.cshtml
@@ -67,8 +67,9 @@
67
<h3>@Model.LatestAnnouncement.Title</h3>
68
<div style="padding-bottom: 2em;">
69
<span style="white-space: pre-line">
70
- @(Model.LatestAnnouncement.Content.Length > 250
71
- ? Model.LatestAnnouncement.Content[..250] + $"... [read more]({ServerConfiguration.Instance.ExternalUrl}/notifications)"
+ @Html.Raw(Model.LatestAnnouncement.Content.Length) > 250
+ ? Model.LatestAnnouncement.Content[..250] +
72
+ $"... <a href="{ServerConfiguration.Instance.ExternalUrl}/notifications">read more</a>"
73
: Model.LatestAnnouncement.Content)
74
</span>
75
</div>
0 commit comments