provide macro definition for metadata in HTML head section (to be filled by controller macro specifications)
This commit is contained in:
parent
d3ae9f4f64
commit
18400049b3
2 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,12 @@
|
|||
</metal:logo>
|
||||
|
||||
|
||||
<metal:meta define-macro="meta">
|
||||
<meta tal:attributes="name macro/name;
|
||||
content macro/content" />
|
||||
</metal:meta>
|
||||
|
||||
|
||||
<metal:css define-macro="css"
|
||||
tal:define="isIE macro/is_ie|nothing">
|
||||
<tal:ie condition="isIE"
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<tal:meta repeat="macro controller/macros/meta">
|
||||
<metal:css use-macro="macro" />
|
||||
</tal:meta>
|
||||
|
||||
<tal:css repeat="macro controller/macros/css">
|
||||
<metal:css use-macro="macro" />
|
||||
</tal:css>
|
||||
|
|
Loading…
Add table
Reference in a new issue