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; 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 Clearfix implementation
*/ */

View file

@ -1,27 +1,27 @@
{{ define "main" }} {{ define "main" }}
<section class="container-fluid list-main"> <section>
<div class="container px-5">
<h5> <h5>
{{ .Params.journal }}{{ with .Params.location }}: {{ . }}{{ end }} {{ .Params.journal }}{{ with .Params.location }}: {{ . }}{{ end }}
</h5> </h5>
<h2>{{ .Title }}</h2> <h2>{{ .Title }}</h2>
<h3> <h3>
<small> <small>
<ul class="list-inline"> {{ range (.GetTerms "people") }}
{{ range .Params.authors }} <a
<li class="list-inline-item">{{ . }}</li> href="{{ .RelPermalink }}"
class="card-link {{ if eq .LinkTitle "Thomas A. Christensen II" }}
bolder
{{ end }}"
>{{- partial "fa.html" "user" }} {{ .LinkTitle }}</a
>
{{ end }} {{ end }}
</ul>
</small> </small>
</h3> </h3>
<h4>{{ .Date | time.Format "January 2, 2006" }}</h4> <h4>{{ .Date | time.Format "January 2, 2006" }}</h4>
{{ .Content }} {{ .Content }}
{{ with .Params.link }} {{ with .Params.link }}
<div class="card border-dark m-3 p-3">
<a href="{{ . }}">{{ . }}</a> <a href="{{ . }}">{{ . }}</a>
<iframe src="{{ . }}" style="width: 100%; height: 75vh"></iframe> <iframe src="{{ . }}" style="width: 100%; height: 75vh"></iframe>
</div>
{{ end }} {{ end }}
</div>
</section> </section>
{{ end }} {{ end }}