calling Get: reflect: call of reflect.Value.Interface on zero Value
Upon searching for this error I found a recommendation (which is what @dmayo2
below has mentioned, but without listing the error) in the Hugo support form to change: {{ if .Get $medium }}
to: {{ if .Get (print $medium) }}
I got an error using the code above:
Upon searching for this error I found a recommendation (which is what @dmayo2 below has mentioned, but without listing the error) in the Hugo support form to change:
{{ if .Get $medium }}
to:
{{ if .Get (print $medium) }}
I don't understand why this is happening but it works and reflects Laura Kalbag's solution.