From dc81ceb04d8b21556cbfccde8caf26b70d4b9a11 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Thu, 26 May 2022 12:29:03 -0400 Subject: [PATCH] Changed the file root for CSS and JS files to be relative to the current file --- Gruntfile.js | 4 +--- assets/twig/layout.twig | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1b49811..5f5f095 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -37,9 +37,7 @@ module.exports = function(grunt) { twigRender: { compile: { files : [{ - data: { - file_root: __dirname + '/public' - }, + data: {}, expand: true, cwd: 'assets/twig', src: ['**/*.twig', '!**/_*.twig'], diff --git a/assets/twig/layout.twig b/assets/twig/layout.twig index ae86657..2f72517 100644 --- a/assets/twig/layout.twig +++ b/assets/twig/layout.twig @@ -3,11 +3,11 @@ - + - + Sentry System Monitor - + {% block scripts %}{% endblock %}