Improved editor features for gallery and projects
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
<h1>@Model.Current?.Title</h1>
|
<h1>@Model.Current?.Title</h1>
|
||||||
<span>@Localizer["Creation date"]: @Model.Current?.CreationDate.ToShortDateString()</span>
|
<span>@Localizer["Creation date"]: @Model.Current?.CreationDate.ToShortDateString()</span>
|
||||||
<p>
|
<p>
|
||||||
@Html.Raw(Model.Current?.Description)
|
@Html.Raw(Model.Current?.Description?.Replace("\n", "<br />"))
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<h1>@project.Title</h1>
|
<h1>@project.Title</h1>
|
||||||
<p>
|
<p>
|
||||||
@Html.Raw(project.Description)
|
@Html.Raw(project.Description?.Replace("\n", "<br />"))
|
||||||
</p>
|
</p>
|
||||||
<a href="@(project.Link)" target="_blank">@project.LinkCaption</a>
|
<a href="@(project.Link)" target="_blank">@project.LinkCaption</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user