Add flexbox layout for academia icons
This commit is contained in:
parent
80ff5ea748
commit
b354658c4a
1 changed files with 29 additions and 21 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue