fix: Odd formatting on Academia single template

This commit is contained in:
Thomas A. Christensen II 2024-12-01 18:27:05 -07:00
parent 7007c1e878
commit 478a7f8af7
Signed by: millironx
GPG key ID: B7044A3432851F64
2 changed files with 31 additions and 24 deletions

View file

@ -370,6 +370,13 @@ footer {
margin-left: 1rem;
}
.bolder {
font-weight: bolder;
background-color: rgba(0, 0, 0, 0.33);
border-radius: 0.25em;
padding: 0.25em 0.75em 0.5em 0.33em;
}
/*
Clearfix implementation
*/

View file

@ -1,27 +1,27 @@
{{ define "main" }}
<section class="container-fluid list-main">
<div class="container px-5">
<section>
<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>
{{ range (.GetTerms "people") }}
<a
href="{{ .RelPermalink }}"
class="card-link {{ if eq .LinkTitle "Thomas A. Christensen II" }}
bolder
{{ end }}"
>{{- partial "fa.html" "user" }} {{ .LinkTitle }}</a
>
{{ 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 }}