feat: Add style block to default template

This commit is contained in:
sthag 2026-03-21 10:39:29 +01:00
parent 65041f65b3
commit 88c7974d5c
2 changed files with 3 additions and 3 deletions

View file

@ -5,8 +5,7 @@ tags:
---
{% layout 'hippie/simple.liquid' %}
{% block head %}
{{ block.super -}}
{% block style %}
<style>
canvas {
display: block;
@ -20,7 +19,6 @@ tags:
{% block script %}
<script>
// Page script
const canvas = document.getElementById('pattern');
const ctx = canvas.getContext('2d');

View file

@ -17,12 +17,14 @@
{% block title %}{% endblock -%}
{{ hippie.titlePostfix -}}
</title>
{% block meta -%}
{% render 'hippie/partials/meta.liquid' %}
{% endblock -%}
{% block links -%}
{% render 'hippie/partials/links.liquid' %}
{% endblock -%}
{% block style -%}{% endblock -%}
{% endblock -%}
</head>