add [StreamRendering] to Head component for static rendering

This commit is contained in:
sbwalker 2024-02-19 14:30:09 -05:00
parent 6f215cbff9
commit be98f786b3
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
@using Oqtane.Shared
@inject SiteState SiteState
@implements IDisposable
@* the following StreamRendering attribute is required - if it is removed the framework will not render the content in static rendering *@
@attribute [StreamRendering]
@if (!string.IsNullOrEmpty(_title))
{

View File

@ -3,7 +3,7 @@
@inject IInstallationService InstallationService
@inject IJSRuntime JSRuntime
@inject SiteState SiteState
@* the following StreamRendering attribute is required - if it is removed the framework will not render a UI on static rendering *@
@* the following StreamRendering attribute is required - if it is removed the framework will not render the content in static rendering *@
@attribute [StreamRendering]
@if (_initialized)