Add single pages for academia records

This commit is contained in:
Thomas A. Christensen II 2022-06-28 23:34:36 -05:00
parent 2324b21ef1
commit f9ce30875d
Signed by: millironx
GPG key ID: 139C07724802BC5D
2 changed files with 28 additions and 3 deletions

View file

@ -1,4 +1,27 @@
{{ define "main" }}
<iframe src="{{ .Params.link }}"></iframe>
{{ .Content }}
<section class="container-fluid list-main">
<div class="container px-5">
<h5>
{{ .Params.journal }}{{ with .Params.location }}: {{ . }}{{ end }}
</h5>
<h2>{{ .Title }}</h2>
<h3>
<small>
<ul class="list-inline">
{{ range .Params.authors }}
<li class="list-inline-item">{{ . }}</li>
{{ end }}
</ul>
</small>
</h3>
<h4>{{ .Date | time.Format "January 2, 2006" }}</h4>
{{ .Content }}
{{ with .Params.link }}
<div class="card border-dark m-3 p-3">
<a href="{{ . }}">{{ . }}</a>
<iframe src="{{ . }}" style="width: 100%; height: 75vh"></iframe>
</div>
{{ end }}
</div>
</section>
{{ end }}

View file

@ -34,7 +34,9 @@
</div>
<div class="flex-grow-1 px-2">
<h3>
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h3>
{{ $authlist := .Params.authors }}
{{ range $idx, $auth := .Params.authors }}