diff --git a/Oqtane.Client/UI/Head.razor b/Oqtane.Client/UI/Head.razor
index 3f59e2d4..7929e506 100644
--- a/Oqtane.Client/UI/Head.razor
+++ b/Oqtane.Client/UI/Head.razor
@@ -19,6 +19,12 @@
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;
@@ -49,15 +55,15 @@
private string RemoveScripts(string headcontent)
{
- // if (!string.IsNullOrEmpty(headcontent))
- // {
- // var index = headcontent.IndexOf("") + 9 - index);
- // index = headcontent.IndexOf("") + 9 - index);
+ index = headcontent.IndexOf("