shithub: hugo

ref: a3535c8486b2ce762b1a8a9c30b03985c3e02cee
dir: /themes/gohugoioTheme/layouts/partials/docs/functions-signature.html/

View raw version
{{ if isset .Params "signature" -}}
  {{- with .Params.signature }}
    <h2 class="minor mb1 pt4 primary-color-dark">Syntax</h2>
    {{- range . }}
      <pre class="f5 mb4 ph3 pv2 bg-light-gray" style="border-left:4px solid #0594CB;">
        {{- . -}}
      </pre>
    {{- end }}
  {{- end -}}
{{ end }}
{{/* The inline style overrides `pre` styling defaults */}}