@namespace Oqtane.UI @using System.ComponentModel @using Oqtane.Shared @inject SiteState SiteState @implements IDisposable @if (!string.IsNullOrEmpty(_title)) { @((MarkupString)_title) } @if (!string.IsNullOrEmpty(_content)) { @((MarkupString)_content) } @code { private string _title = ""; private string _content = ""; [Parameter] public string RenderMode { get; set; } [Parameter] public string Runtime { get; set; } protected override void OnInitialized() { ((INotifyPropertyChanged)SiteState.Properties).PropertyChanged += PropertyChanged; } private void PropertyChanged(object sender, PropertyChangedEventArgs e) { switch (e.PropertyName) { case "PageTitle": var title = "\n