Merge pull request #2905 from sbwalker/dev

more optimizations of Head component
This commit is contained in:
Shaun Walker 2023-06-19 15:11:07 -04:00 committed by GitHub
commit 8bfca2f10a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,14 @@
@using Oqtane.Shared
@inject SiteState SiteState
@if (!string.IsNullOrEmpty(_title))
{
@((MarkupString)_title)
}
@if (!string.IsNullOrEmpty(_content))
{
@((MarkupString)_content)
}
@code {
private string _title = "";