squirrel/layouts/partials/logos.html

23 lines
681 B
HTML
Raw Normal View History

{{- $logos := .logos }}
{{- $odd := .odd }}
2022-06-27 14:09:44 +00:00
{{- $id := "logos"}}
{{if $logos.id}}
{{- $id = $logos.id}}
2022-06-27 14:09:44 +00:00
{{else if .id}}
{{- $id = .id }}
2022-06-27 14:09:44 +00:00
{{end}}
<div id="{{ $id }}" class="section {{if eq $odd 0}} section-even {{end}}">
2021-02-25 21:23:58 +00:00
<div class="section-content funding">
2022-10-24 11:28:44 +00:00
{{ with $logos.title }}
2021-02-25 21:23:58 +00:00
<div class="title">
2022-10-24 11:28:44 +00:00
<h1 class="content-title">{{ . }}</h1>
2021-02-25 21:23:58 +00:00
<div class="divider"></div>
</div>
2022-10-24 11:28:44 +00:00
{{ end }}
2021-02-25 21:23:58 +00:00
<div class="funding-logos">
{{- range $logos.logos}}
2021-02-25 21:23:58 +00:00
<a href="{{ .url }}"><img class="funding-logo" src="{{ .logo }}" alt="{{ .text }}"></a>
{{- end}}
</div>
</div>
</div>