{{- /* Inline reference to another specification: {{< spec "slug" >}} */ -}} {{- $slug := .Get 0 -}} {{- with site.GetPage (printf "/specs/%s" $slug) -}} {{- partial "spec/chip.html" . -}} {{- else -}} {{- warnf "%s: {{< spec %q >}} does not match a specification" .Page.File.Path $slug -}} {{ $slug }} {{- end -}}