Add single pages for academia records
This commit is contained in:
parent
2324b21ef1
commit
f9ce30875d
2 changed files with 28 additions and 3 deletions
|
@ -1,4 +1,27 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<iframe src="{{ .Params.link }}"></iframe>
|
<section class="container-fluid list-main">
|
||||||
{{ .Content }}
|
<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 }}
|
{{ end }}
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-grow-1 px-2">
|
<div class="flex-grow-1 px-2">
|
||||||
<h3>
|
<h3>
|
||||||
{{ .Title }}
|
<a href="{{ .Permalink }}">
|
||||||
|
{{ .Title }}
|
||||||
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
{{ $authlist := .Params.authors }}
|
{{ $authlist := .Params.authors }}
|
||||||
{{ range $idx, $auth := .Params.authors }}
|
{{ range $idx, $auth := .Params.authors }}
|
||||||
|
|
Loading…
Reference in a new issue