From fc8583e4458ee8675b5a982fbdcf523d4f05373e Mon Sep 17 00:00:00 2001 From: Caio Lente <7017340+clente@users.noreply.github.com> Date: Tue, 17 Oct 2023 23:34:17 -0300 Subject: Create byline class --- assets/style.css | 4 ++++ layouts/_default/single.html | 12 +++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/assets/style.css b/assets/style.css index afa00b3..0b600e6 100644 --- a/assets/style.css +++ b/assets/style.css @@ -146,6 +146,10 @@ h3.blog-filter { opacity: 0.7; } +p.byline { + font-style: italic; +} + /* "Skip to main content" link */ .skip-link { position: absolute; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 371a382..89b58d5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,13 +1,11 @@ {{ define "main" }} {{ if not .Params.menu }}

{{ .Title }}

-

- - - {{ with .Params.author }}· {{.}}{{ end }} - +

+ + {{ with .Params.author }}· {{.}}{{ end }}

{{ end }} -- cgit v1.2.3