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