{{ $filename := add (add "shortcodes/icon-block-six-" (.Get "number")) ".json" }} {{ with .Site.GetPage .Page.File.Path}} {{ $resource := (.Resources.GetMatch $filename).RelPermalink }} {{ $fields := getJSON "content" $resource }}
{{ range $fields }}
{{ if and (ne .title nil) (ne .title "") }}
{{ .title }}
{{ end }} {{ if and (ne .content nil) (ne .content "") }}

{{ .content }}

{{ end }}
{{ end }}
{{ end }}