From 3b4b2d050f73b2b8439b4fdff85584d6f8232859 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sun, 2 Jun 2024 13:31:50 +0200 Subject: Better outline consistency --- layouts/_default/single.html | 4 ++-- layouts/partials/author_card.html | 4 ++-- layouts/partials/hero.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 96ef493..24bcffb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,8 @@ {{ define "main" }}
-

+

{{ .Title }} -

+ {{ with .Params.subtitle }}

{{ . }}

diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index c70cb81..c2bbeab 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -1,4 +1,4 @@ -
+
{{ .name }}
@@ -20,4 +20,4 @@ {{ partial "social_links" . }}
- + diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 9ff5329..7823a62 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -14,7 +14,7 @@ {{ $avatar = resources.Get $avatar }} {{ end }} {{ with $avatar }} - + {{ end }}

{{ .Title }} -- cgit v1.2.3