{{ $_hugo_config := `{ "version": 1 }` }} {{ $ref := "" }} {{ $target := "" }} {{ with .Get "href" }} {{ $ref = . }} {{ end }} {{ with .Get "target" }} {{ $target = . }} {{ end }} {{ with .Get "relref" }} {{ $ref = relref $ . }} {{ end }} {{ with .Get "text" }}{{ . }}{{ end }}