Partial upgrade to ZMPL v2
This commit is contained in:
parent
fee65c4b9d
commit
199dc0ca49
4 changed files with 14 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Renders the `message` response data value.
|
||||
<!--// Renders the `message` response data value.-->
|
||||
<h3 class="message text-[#39b54a]">{.message}</h3>
|
||||
|
||||
<div><img class="p-3 mx-auto" src="/jetzig.png" /></div>
|
||||
|
|
|
|||
|
|
@ -9,12 +9,14 @@
|
|||
|
||||
<body>
|
||||
<div class="text-center pt-10 m-auto">
|
||||
// If present, renders the `message_param` response data value, add `?message=hello` to the
|
||||
// URL to see the output:
|
||||
<!-- If present, renders the `message_param` response data value, add `?message=hello` to the
|
||||
// URL to see the output: -->
|
||||
<h2 class="param text-3xl text-[#f7931e]">{.message_param}</h2>
|
||||
|
||||
// Renders `src/app/views/root/_content.zmpl` with the same template data available:
|
||||
<div>{^root/content}</div>
|
||||
<!--// Renders `src/app/views/root/_content.zmpl` with the same template data available:-->
|
||||
<div>
|
||||
@partial root/content
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue