{{- /* */ -}} {{- $url := .Get "url" -}} {{- $sep := .Get "sep" -}} {{- if .Get "class" -}} {{- /* */ -}} {{- $class := .Get "class" -}} {{- $.Scratch.Set "class" $class -}} {{- else -}} {{- /* */ -}} {{- $.Scratch.Set "class" "greyhead small smallfont fontcourier striped headleft captleft" -}} {{- end -}} {{- if .Get "caption" -}} {{- /* */ -}} {{- $caption := .Get "caption" -}} {{- $.Scratch.Set "caption" $caption -}} {{- end -}} {{- if .Get "sep" -}} {{- /* */ -}} {{- $sep := .Get "sep" -}} {{- $.Scratch.Set "delimiter" $sep -}} {{- else -}} {{- /* */ -}} {{- $.Scratch.Set "delimiter" "," -}} {{- end -}} {{ with resources.Get $url }} {{ $rows := .Content | transform.Unmarshal (dict "delimiter" ($.Scratch.Get "delimiter") ) }}
{{- . -}} | {{- end -}}
---|
{{- . -}} | {{- end -}}