feat: Change template for 10print screen
This commit is contained in:
parent
0ac6766fb0
commit
78a761f9cf
1 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue