feat: Change template for 10print screen

This commit is contained in:
sthag 2026-02-15 23:11:33 +01:00
parent 0ac6766fb0
commit 78a761f9cf

View file

@ -3,8 +3,7 @@ title: 10print
tags:
- demoExample
---
{% assign pageBase = "../../" -%}
{% layout "hippie/full.liquid" %}
{% layout "hippie/simple.liquid" %}
{% block head %}
{{ block.super -}}
@ -16,14 +15,13 @@ tags:
{% endblock %}
{% block body %}
<canvas id="10print"></canvas>
<canvas id="pattern"></canvas>
{% endblock %}
{% block script %}
{{ block.super -}}
<script>
// Page script
const canvas = document.getElementById('10print');
const canvas = document.getElementById('pattern');
const ctx = canvas.getContext('2d');
const lineWidth = 20;