Files

9 lines
425 B
HTML

{{- /* Consistent "Funded by" badge under the page title, for any page with a
`funder` front-matter field (the single-grant projects). Programmes such
as LEVITAS omit it and list funders per study instead. */ -}}
{{- $f := .Params.funder -}}
{{- $u := .Params.funder_url -}}
{{- with $f -}}
<p class="funder-badge">Funded by {{ if $u }}<a href="{{ $u }}">{{ $f }}</a>{{ else }}{{ $f }}{{ end }}</p>
{{- end -}}