feat: Replace default screen using liquid instead of nunjucks
This commit is contained in:
parent
07656b404f
commit
afc733f4d4
6 changed files with 65 additions and 23 deletions
18
source/screens/demo/pages/default.liquid
Normal file
18
source/screens/demo/pages/default.liquid
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
title: "Default"
|
||||
---
|
||||
{% assign pageBase = "../" -%}
|
||||
{% assign pageId = page.fileSlug -%}
|
||||
{% assign pageClass = "default" -%}
|
||||
{% assign bodyClass = "default" -%}
|
||||
{%- layout "hippie/default.liquid" %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
{{ block.super -}}
|
||||
<script>
|
||||
// Page script
|
||||
console.log("pageBase is: {{ pageBase }}");
|
||||
</script>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue