feat: Remove pageBase from liquid templates
- Remove pageBase global from all liquid templates - Change " to ' for all liquid tags
This commit is contained in:
parent
d64bf61a9c
commit
2d3c049d40
38 changed files with 86 additions and 110 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue