diff --git a/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/Index.cshtml b/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/Index.cshtml index 7536e1c5..bbde431b 100644 --- a/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/Index.cshtml +++ b/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/Index.cshtml @@ -57,6 +57,12 @@ } + + @* User custom inline script - render after all external JS resources *@ + @if (Model.CurrentPage?.Script != null && !string.IsNullOrWhiteSpace(Model.CurrentPage.Script)) + { + + } } diff --git a/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageScriptsPartial.cshtml b/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageScriptsPartial.cshtml index fe751921..4574fb62 100644 --- a/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageScriptsPartial.cshtml +++ b/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageScriptsPartial.cshtml @@ -1,8 +1,3 @@ @model cloudscribe.SimpleContent.Web.ViewModels.PageViewModel - - -@if (Model.CurrentPage?.Script != null && !string.IsNullOrWhiteSpace(Model.CurrentPage.Script)) -{ - -} \ No newline at end of file + \ No newline at end of file