Add flexbox layout for academia icons

This commit is contained in:
Thomas A. Christensen II 2022-02-14 20:22:17 -06:00
parent 80ff5ea748
commit b354658c4a
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -2,9 +2,15 @@
<h2>Selected Presentations</h2>
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
{{ range $featuredpubs }}
<div class="d-flex py-2">
<div class="px-1">
<h3>
{{ if eq .Params.type "poster" }}<i class="fad fa-presentation"></i>{{ end }}
{{ if eq .Params.type "thesis" }}<i class="fad fa-graduation-cap"></i>{{ end }}
</h3>
</div>
<div class="flex-grow-1 px-1">
<h3>
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
@ -23,5 +29,7 @@
,
{{- end }}
{{ end }}
</div>
</div>
{{ end }}
{{ end }}