recipe-site/_layouts/default.html

22 lines
442 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel='stylesheet' href='/assets/style.css'>
<script async src='/assets/script.js'></script>
<title>{% if page.layout == "recipe" %}{{ page.name }}{% else %}{{ page.title }}{% endif %}</title>
</head>
<body>
{% unless layout.custom_h1 -%}<h1>{{ page.title }}</h1>{%- endunless %}
<div id='main'>
{{ content }}
</div>
{% include footer.html -%}
</body>
</html>