Hi guys,
Can I use the template’s data in the template?
Like in layout.html.eco:
---
description: blabla
---
<html>
<body>Description: <%= @sth.description %></body>
</html>
And also, can I define a child template with data, which contains the same
name and override the data in the parent template? like in child.html.eco:
---
layout: layout
description: child blablabla
---
I have tried a little bit but none of them works.
Thank.