From 8eb377717a30c9866c5e45d9390a7efc2c9374d1 Mon Sep 17 00:00:00 2001 From: sthag Date: Thu, 8 Aug 2024 20:35:08 +0200 Subject: [PATCH] fix: variable naming --- .eleventy.js | 5 +++-- gulp/config.js | 2 +- source/templates/demo/_default.njk | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index ce05d34..da25e16 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -9,9 +9,10 @@ module.exports = function (eleventyConfig) { }); eleventyConfig.addGlobalData("hippie", { + pageBase: './', brand: 'hippie', - titlePrefix: ' - HIPPIE', - pageBase: './' + titlePrefix: '', + titlePostfix: ' - HIPPIE' }); eleventyConfig.addPassthroughCopy({"source/art/images": "art"}); diff --git a/gulp/config.js b/gulp/config.js index 257f453..7a03f07 100644 --- a/gulp/config.js +++ b/gulp/config.js @@ -17,7 +17,7 @@ const config = { hippie: { brand: 'hippie', - titlePrefix: ' - HIPPIE', + titlePostfix: ' - HIPPIE', pageBase: './' } }; diff --git a/source/templates/demo/_default.njk b/source/templates/demo/_default.njk index 902d5fb..1f67848 100644 --- a/source/templates/demo/_default.njk +++ b/source/templates/demo/_default.njk @@ -6,7 +6,7 @@ {% block head %} - {% block title %}{% endblock %}{{ hippie.titlePrefix }} + {% block title %}{% endblock %}{{ hippie.titlePostfix }} {% include "demo/partials/_meta.njk" %} {# #}