2022-08-21 00:06:51 -04:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ .Scratch.Set "customTitleHeaderSet" true }}
|
|
|
|
{{ .Scratch.Set "customTitleHeader" "Publications" }}
|
2023-09-26 17:45:18 -04:00
|
|
|
{{ .Scratch.Set "customTitleHeaderLink" "/publications/" }}
|
2022-08-21 00:06:51 -04:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<main>
|
|
|
|
<article class="h-entry">
|
|
|
|
<h1 class='title p-name'>{{ .Title }}</h1>
|
|
|
|
<a style="display: none" class="u-url" href="{{ .Permalink }}"></a>
|
|
|
|
<div style="display: none;" rel="author" class="h-card p-author">
|
2023-09-26 16:30:27 -04:00
|
|
|
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
|
|
|
{{ $profile_width := 75 }}
|
|
|
|
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
|
|
|
|
<img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}"/>
|
2022-08-21 00:06:51 -04:00
|
|
|
<span > {{ .Site.Params.Author }}</span>
|
|
|
|
</div>
|
|
|
|
<!-- content -->
|
|
|
|
<div class="e-content">
|
|
|
|
<p><strong>Authors</strong>:
|
|
|
|
{{range .Params.authors }}
|
|
|
|
{{ . }},
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{{ if isset .Params "journal" }}
|
|
|
|
<p>
|
|
|
|
<strong>Journal:</strong>
|
|
|
|
{{ .Params.journal }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if isset .Params "conference" }}
|
|
|
|
<p>
|
|
|
|
<strong>Conference:</strong>
|
|
|
|
{{ .Params.conference }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if isset .Params "publish_date" }}
|
|
|
|
<p>
|
|
|
|
<strong>Publication Date:</strong>
|
|
|
|
{{ .Params.publish_date }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if isset .Params "abstract" }}
|
|
|
|
<p>
|
|
|
|
<strong>Abstract:</strong>
|
|
|
|
{{ .Params.abstract }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if isset .Params "keywords" }}
|
|
|
|
<p><strong>Keywords</strong>:
|
|
|
|
{{range .Params.keywords }}
|
|
|
|
{{ . }},
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if isset .Params "pdf_url" }}
|
|
|
|
<p>
|
|
|
|
<strong>PDF Link:</strong>
|
|
|
|
<a href="{{ .Params.pdf_url }}">{{ .Params.pdf_url }}</a>
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|