diff options
author | Oscar Najera <hi@oscarnajera.com> | 2024-06-02 13:31:50 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2024-06-02 13:31:50 +0200 |
commit | 3b4b2d050f73b2b8439b4fdff85584d6f8232859 (patch) | |
tree | 8f8958b78c6efb25614b7be0991e65b4904e9952 /layouts | |
parent | eb728994b8578661221d9c80b213a83fcf2f300f (diff) | |
download | hugo-minimalist-theme-3b4b2d050f73b2b8439b4fdff85584d6f8232859.tar.gz hugo-minimalist-theme-3b4b2d050f73b2b8439b4fdff85584d6f8232859.tar.bz2 hugo-minimalist-theme-3b4b2d050f73b2b8439b4fdff85584d6f8232859.zip |
Better outline consistencytitan.io
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | layouts/partials/author_card.html | 4 | ||||
-rw-r--r-- | 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" }} <header class="mw7 center"> - <h2 class="baskerville f2 lh-title mv3 ph1"> + <h1 class="baskerville f1 lh-title mv3 ph1"> {{ .Title }} - </h2> + </h1> {{ with .Params.subtitle }} <h3 class="f3 baskerville mv3 pa1">{{ . }}</h3> 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 @@ -<div class="mw7 center pa4 flex flex-column flex-row-ns bt b--black-10"> +<article class="mw7 center pa4 flex flex-column flex-row-ns bt b--black-10"> <div class="w-10-ns tc"> <img src="{{ .avatar }}" class="br-100 w3" alt="{{ .name }}" /> </div> @@ -20,4 +20,4 @@ {{ partial "social_links" . }} </div> </div> -</div> +</article> 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 }} - <img src="{{ .RelPermalink }}" class="br-100 w5 db center" /> + <img src="{{ .RelPermalink }}" class="br-100 w5 db center" alt="" /> {{ end }} <h1 class="f1 tc mv1"> {{ .Title }} |