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:
|
||||
- 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue