From 478a7f8af7913353e872001314d92cd840064992 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Sun, 1 Dec 2024 18:27:05 -0700 Subject: [PATCH] fix: Odd formatting on Academia single template --- assets/styles/millironx.css | 7 ++++++ layouts/academia/single.html | 48 ++++++++++++++++++------------------ 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/assets/styles/millironx.css b/assets/styles/millironx.css index 231b323..25a0fc4 100644 --- a/assets/styles/millironx.css +++ b/assets/styles/millironx.css @@ -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 */ diff --git a/layouts/academia/single.html b/layouts/academia/single.html index 9466a74..ac7fad7 100644 --- a/layouts/academia/single.html +++ b/layouts/academia/single.html @@ -1,27 +1,27 @@ {{ define "main" }} -
-
-
- {{ .Params.journal }}{{ with .Params.location }}: {{ . }}{{ end }} -
-

{{ .Title }}

-

- -
    - {{ range .Params.authors }} -
  • {{ . }}
  • - {{ end }} -
-
-

-

{{ .Date | time.Format "January 2, 2006" }}

- {{ .Content }} - {{ with .Params.link }} -
- {{ . }} - -
- {{ end }} -
+
+
+ {{ .Params.journal }}{{ with .Params.location }}: {{ . }}{{ end }} +
+

{{ .Title }}

+

+ + {{ range (.GetTerms "people") }} + {{- partial "fa.html" "user" }} {{ .LinkTitle }} + {{ end }} + +

+

{{ .Date | time.Format "January 2, 2006" }}

+ {{ .Content }} + {{ with .Params.link }} + {{ . }} + + {{ end }}
{{ end }}