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' %}
|
{% layout 'hippie/simple.liquid' %}
|
||||||
|
|
||||||
{% block head %}
|
{% block style %}
|
||||||
{{ block.super -}}
|
|
||||||
<style>
|
<style>
|
||||||
canvas {
|
canvas {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
@ -20,7 +19,6 @@ tags:
|
||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script>
|
<script>
|
||||||
// Page script
|
|
||||||
const canvas = document.getElementById('pattern');
|
const canvas = document.getElementById('pattern');
|
||||||
const ctx = canvas.getContext('2d');
|
const ctx = canvas.getContext('2d');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,14 @@
|
||||||
{% block title %}{% endblock -%}
|
{% block title %}{% endblock -%}
|
||||||
{{ hippie.titlePostfix -}}
|
{{ hippie.titlePostfix -}}
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
{% block meta -%}
|
{% block meta -%}
|
||||||
{% render 'hippie/partials/meta.liquid' %}
|
{% render 'hippie/partials/meta.liquid' %}
|
||||||
{% endblock -%}
|
{% endblock -%}
|
||||||
{% block links -%}
|
{% block links -%}
|
||||||
{% render 'hippie/partials/links.liquid' %}
|
{% render 'hippie/partials/links.liquid' %}
|
||||||
{% endblock -%}
|
{% endblock -%}
|
||||||
|
{% block style -%}{% endblock -%}
|
||||||
{% endblock -%}
|
{% endblock -%}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue