|
| 1 | + <div class="row align-items-top mt-3"> |
| 2 | + <a class="no-underline" href="{{ .RelPermalink }}"><b>{{ .Title }}</b></a> |
| 3 | + |
| 4 | + <!-- AUTHOR LIST --> |
| 5 | + <div class="author-list"> |
| 6 | + {{ range .Params.authors }} |
| 7 | + <!-- construct url to search for --> |
| 8 | + {{ $url := printf "/people/%s" . }} |
| 9 | + |
| 10 | + <!-- check if the url exists --> |
| 11 | + {{ $authorPage := $.Site.GetPage $url }} |
| 12 | + |
| 13 | + <!-- if it does, create a link, else just print the name --> |
| 14 | + <span class="author-list-item"> |
| 15 | + {{ if $authorPage }} |
| 16 | + <a class="author-list-link" href="{{ $url }}">{{ $authorPage.Title }}</a> |
| 17 | + {{ else }} |
| 18 | + {{ . }} |
| 19 | + {{ end }} |
| 20 | + </span> |
| 21 | + {{ end }} |
| 22 | + </div> |
| 23 | + |
| 24 | + <!-- Badge for venue --> |
| 25 | + <div class="blue-links"> |
| 26 | + {{.Params.venue }} |
| 27 | + <br> |
| 28 | + <span> |
| 29 | + {{ if .Params.abstract }} |
| 30 | + <a data-bs-toggle="collapse" href="#collapse-abstract-{{ .Key }}" role="button">abstract</a> / |
| 31 | + {{ end }} |
| 32 | + {{ if .Params.pdf }} |
| 33 | + <a href="{{ .Params.pdf }}" target="_blank">pdf</a> / |
| 34 | + {{ end }} |
| 35 | + {{ if .Params.video }} |
| 36 | + <a href="{{ .Params.video }}" target="_blank">video</a> / |
| 37 | + {{ end }} |
| 38 | + {{ if .Params.code }} |
| 39 | + <a href="{{ .Params.code }}" target="_blank">code</a> / |
| 40 | + {{ end }} |
| 41 | + {{ if .Params.poster }} |
| 42 | + <a href="{{ .Params.poster }}" target="_blank">poster</a> / |
| 43 | + {{ end }} |
| 44 | + {{ if .Params.slides }} |
| 45 | + <a href="{{ .Params.slides }}" target="_blank">slides</a> / |
| 46 | + {{ end }} |
| 47 | + {{ if .Params.link }} |
| 48 | + <a href="{{ .Params.link }}" target="_blank">link</a> / |
| 49 | + {{ end }} |
| 50 | + {{ if .Params.arxiv }} |
| 51 | + <a href="{{ .Params.arxiv}}">arxiv</a> / |
| 52 | + {{ end }} |
| 53 | + {{ if .Params.bib }} |
| 54 | + <a data-bs-toggle="collapse" href="#collapse-bib-{{ .Key }}" role="button">bib</a> / |
| 55 | + {{ end }} |
| 56 | + </span> |
| 57 | + </div> |
| 58 | + {{ if .Params.abstract }} |
| 59 | + <div class="collapse my-3" id="collapse-abstract-{{ .Key }}"> |
| 60 | + <div class="card card-body"> |
| 61 | + {{ .Params.abstract }} |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + {{ end }} |
| 65 | + {{ if .Params.bib }} |
| 66 | + <div class="collapse my-3" id="collapse-bib-{{ .Key }}"> |
| 67 | + <div class="card card-body"> |
| 68 | + <pre>{{ .Params.bib }}</pre> |
| 69 | + </div> |
| 70 | + </div> |
| 71 | + {{ end }} |
| 72 | + |
| 73 | + |
| 74 | + </div> |
0 commit comments