feat: Add style block to default template
This commit is contained in:
parent
65041f65b3
commit
88c7974d5c
2 changed files with 3 additions and 3 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue