Description
Process children nodes of the tag and write result to the page header (into <head/> tag). If content is only text, then we write only the text to header.
Schema
Attributes are not allowed.
Attributes
None.
Example
<write_to_header> <![CDATA[ <script>alert('1 & 2');</script>> ]]></write_to_header>
This skeleton tag will be rendered on the page like this:
<script>alert('1 & 2');</script>
Example text and children
<write_to_header> this is text<meta name="description" content="{{ post.headline }}"/>this is tail</write_to_header>
This skeleton tag will be rendered on the page like this:
this is text<meta name="description" content="headline of the post"/>this is tail