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
{{ message }}
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
It could support both single line and multi-line format. E.g.:
<--$ metakey : value -->
<--$
metakeykey : value
metakeykey : value
-->
Define a metadata template tag:
They should be parsed in block the first thing just after parsing the includes and removing the comments, but before parsing the metadata directive. So that they can be used anywhere in the template, even inside the directives.
{{metakey}}
{{metakey : template }}
Using the template tag should call a specialize function for metadata retrieval, with the following steps:
Look for the pertinent template key into the metadata storage declarative array, and if it exist:
Try to retrieve the pertinent metakey.
If it doesn't exist it means it hasn't been specified in the template, so use the default behaviour.
If no key exist for the template, it means it hasn't been fetched yet.
Try to fetch the metadata from the template file and store it in the database.
Repeat step 1; avoid recursive loop.
The text was updated successfully, but these errors were encountered:
Define a metadata directive.
It could support both single line and multi-line format. E.g.:
Define a metadata template tag:
They should be parsed in block the first thing just after parsing the includes and removing the comments, but before parsing the metadata directive. So that they can be used anywhere in the template, even inside the directives.
Using the template tag should call a specialize function for metadata retrieval, with the following steps:
The text was updated successfully, but these errors were encountered: