You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create HeaderCollector as service for collecting information about HTML header.
Add macros {addTitle}, {setTitle}, {addDescription}, {setDescription}, {addKeywords}, {setKeywords}, {setRobots}. This macros save data's to HeaderCollector and HeaderComponent only write data's from HeaderCollector and AssetsCollector.
This allow use this template:
{* set header *}
{addTitle}{$row->title}{/addTitle}
{setDescription}{$row->description}{/setDescription}
{* ... *}
{* and other *}
<h1>{$row->title}</h1>
<div>{$row->description}</div>
{$row->text}
The text was updated successfully, but these errors were encountered:
Create
HeaderCollector
as service for collecting information about HTML header.Add macros
{addTitle}
,{setTitle}
,{addDescription}
,{setDescription}
,{addKeywords}
,{setKeywords}
,{setRobots}
. This macros save data's toHeaderCollector
andHeaderComponent
only write data's fromHeaderCollector
andAssetsCollector
.This allow use this template:
The text was updated successfully, but these errors were encountered: