We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9de4e47 + c269162 commit ab70549Copy full SHA for ab70549
layouts/partials/feature-info.html
@@ -1,7 +1,9 @@
1
{{ $currentPage := .Page.Permalink }}
2
{{ $features := .Site.Data.feature_data }}
3
{{ if not $features }}
4
-{{ $features = getJSON "feature_data.json" }}
+{{ with readFile "data/feature_data.json" }}
5
+{{ $features = . | transform.Unmarshal }}
6
+{{ end }}
7
{{ end }}
8
9
{{ $featuresByUrl := dict }}
0 commit comments