Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layout support #103

Open
millken opened this issue Nov 2, 2024 · 0 comments
Open

layout support #103

millken opened this issue Nov 2, 2024 · 0 comments

Comments

@millken
Copy link

millken commented Nov 2, 2024

Examples
parent.tpl

<html>
  <head>
    <title> Page Title</title> 
  </head>
 <body>
    <slot>
</body>
</html>

child.tpl

{% layout "parent.tpl" %} 
<h1>Hello</h1>
{% endlayout %}

The result would look like

<html>
  <head>
    <title>Page Title</title>
  </head>
 <body>
    <h1>Hello</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant