peachy/assets/tmpl/layout.tmpl

20 lines
550 B
Cheetah
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<script src="/static/js/htmx.min.js"></script>
<script src="/static/js/_hyperscript.min.js"></script>
<title>Everything is Peachy</title>
<link rel="stylesheet" href="/static/css/site.css">
{% if block.styles then for _, style in ipairs(block.styles) do %}
<link rel="stylesheet" href="{%& style %}">
{% end end %}
</head>
<body>
<h1>Peachy</h1>
{% function block.pagebody() %}
<h1>It works!</h1>
<p>But something seems to be missing…</p>
{% end %}
{% block.pagebody() %}
</body>
</html>