aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2024-06-02 13:31:50 +0200
committerOscar Najera <hi@oscarnajera.com>2024-06-02 13:31:50 +0200
commit3b4b2d050f73b2b8439b4fdff85584d6f8232859 (patch)
tree8f8958b78c6efb25614b7be0991e65b4904e9952 /layouts/partials
parenteb728994b8578661221d9c80b213a83fcf2f300f (diff)
downloadhugo-minimalist-theme-titan.io.tar.gz
hugo-minimalist-theme-titan.io.tar.bz2
hugo-minimalist-theme-titan.io.zip
Better outline consistencytitan.io
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/author_card.html4
-rw-r--r--layouts/partials/hero.html2
2 files changed, 3 insertions, 3 deletions
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 }}