feat: Remove pageBase from liquid templates

- Remove pageBase global from all liquid templates
- Change " to ' for all liquid tags
This commit is contained in:
sthag 2026-02-21 12:58:31 +01:00
parent d64bf61a9c
commit 2d3c049d40
38 changed files with 86 additions and 110 deletions

View file

@ -1,17 +1,13 @@
---
title: Default
---
{% assign pageBase = "../" -%}
{% assign pageId = page.fileSlug -%}
{% assign pageClass = "default" -%}
{% assign bodyClass = "default" -%}
{% layout "hippie/default.liquid" %}
{% assign pageClass = 'default' -%}
{% assign bodyClass = 'default' -%}
{% layout 'hippie/default.liquid' %}
{% block title %}{{ title }}{% endblock %}
{% block script %}
<script>
// Page script
console.log("pageBase is: {{ pageBase }}");
</script>
{% endblock %}
{% block body %}
<!-- {{ title }} body -->
{% endblock %}