Merge pull request #2905 from sbwalker/dev
more optimizations of Head component
This commit is contained in:
commit
8bfca2f10a
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user