more optimizations of Head component
This commit is contained in:
parent
3849f59126
commit
6bea9a087c
@ -2,8 +2,14 @@
|
||||
@using Oqtane.Shared
|
||||
@inject SiteState SiteState
|
||||
|
||||
@((MarkupString)_title)
|
||||
@((MarkupString)_content)
|
||||
@if (!string.IsNullOrEmpty(_title))
|
||||
{
|
||||
@((MarkupString)_title)
|
||||
}
|
||||
@if (!string.IsNullOrEmpty(_content))
|
||||
{
|
||||
@((MarkupString)_content)
|
||||
}
|
||||
|
||||
@code {
|
||||
private string _title = "";
|
||||
|
Reference in New Issue
Block a user