Skip to content

Commit acd7ed0

Browse files
committed
removing "static" from the path
1 parent 7383ee9 commit acd7ed0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

layouts/shortcodes/dimensions.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

2-
{{ $jsPath := .Get "path" }}
2+
{{ $rawJSPath := .Get "path" }}
3+
{{ $jsPath := replace $rawJSPath "/static" "" }}
34
{{ $dimensionsRef := dict }}
45
{{ with resources.Get $jsPath }}
56
{{ with .Err }}

layouts/shortcodes/metrics.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

2-
{{ $jsPath := .Get "path" }}
2+
{{ $rawJSPath := .Get "path" }}
3+
{{ $jsPath := replace $rawJSPath "/static" "" }}
34
{{ $metricsRef := dict }}
45
{{ with resources.Get $jsPath }}
56
{{ with .Err }}

0 commit comments

Comments
 (0)