Skip to content

Commit ab70549

Browse files
Merge branch 'master' into dependabot/npm_and_yarn/multi-89fa4a6c67
2 parents 9de4e47 + c269162 commit ab70549

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

layouts/partials/feature-info.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{{ $currentPage := .Page.Permalink }}
22
{{ $features := .Site.Data.feature_data }}
33
{{ if not $features }}
4-
{{ $features = getJSON "feature_data.json" }}
4+
{{ with readFile "data/feature_data.json" }}
5+
{{ $features = . | transform.Unmarshal }}
6+
{{ end }}
57
{{ end }}
68

79
{{ $featuresByUrl := dict }}

0 commit comments

Comments
 (0)