@using System.ComponentModel @using Oqtane.Shared @inject SiteState SiteState @if (!string.IsNullOrEmpty(_title)) { @((MarkupString)_title) } @if (!string.IsNullOrEmpty(_content)) { @((MarkupString)_content) } @code { private string _title = ""; private string _content = ""; protected override void OnInitialized() { ((INotifyPropertyChanged)SiteState.Properties).PropertyChanged += PropertyChanged; } private void PropertyChanged(object sender, PropertyChangedEventArgs e) { switch (e.PropertyName) { case "PageTitle": var title = "\n