diff --git a/system/src/Grav/Common/Assets.php b/system/src/Grav/Common/Assets.php index 3a9a19d17..403f886fd 100644 --- a/system/src/Grav/Common/Assets.php +++ b/system/src/Grav/Common/Assets.php @@ -1010,10 +1010,11 @@ class Assets protected function gatherLinks(array $links, $css = true) { $buffer = ''; - $local = true; + foreach ($links as $asset) { $relative_dir = ''; + $local = true; $link = $asset['asset']; $relative_path = $link;