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> {{ range (.GetTerms "people") }}
<ul class="list-inline"> <a
{{ range .Params.authors }} href="{{ .RelPermalink }}"
<li class="list-inline-item">{{ . }}</li> class="card-link {{ if eq .LinkTitle "Thomas A. Christensen II" }}
{{ end }} bolder
</ul> {{ end }}"
</small> >{{- partial "fa.html" "user" }} {{ .LinkTitle }}</a
</h3> >
<h4>{{ .Date | time.Format "January 2, 2006" }}</h4> {{ end }}
{{ .Content }} </small>
{{ with .Params.link }} </h3>
<div class="card border-dark m-3 p-3"> <h4>{{ .Date | time.Format "January 2, 2006" }}</h4>
<a href="{{ . }}">{{ . }}</a> {{ .Content }}
<iframe src="{{ . }}" style="width: 100%; height: 75vh"></iframe> {{ with .Params.link }}
</div> <a href="{{ . }}">{{ . }}</a>
{{ end }} <iframe src="{{ . }}" style="width: 100%; height: 75vh"></iframe>
</div> {{ end }}
</section> </section>
{{ end }} {{ end }}