diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-28 21:13:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-28 21:13:36 +0200 |
| commit | db27bd6602da9cb3d00cd24bf7e4bdb1db1d2bdd (patch) | |
| tree | a439cc1a6f2434e96b4ef200ee38bc9dfe224cce /layouts/partials/article-header.html | |
| parent | 8baed345eb1489f378db1a5e0768b25c7c25659a (diff) | |
| download | danixxyz-theme-db27bd6602da9cb3d00cd24bf7e4bdb1db1d2bdd.tar.gz danixxyz-theme-db27bd6602da9cb3d00cd24bf7e4bdb1db1d2bdd.zip | |
fix: add aria-hidden to decorative feather icons, align type badge with header pattern
Diffstat (limited to 'layouts/partials/article-header.html')
| -rw-r--r-- | layouts/partials/article-header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/article-header.html b/layouts/partials/article-header.html index 94c78a5..55f6af1 100644 --- a/layouts/partials/article-header.html +++ b/layouts/partials/article-header.html @@ -32,7 +32,7 @@ <!-- Publish date --> {{ if .PublishDate }} <div class="flex items-center gap-1"> - <i data-feather="calendar" class="w-4 h-4"></i> + <i data-feather="calendar" class="w-4 h-4" aria-hidden="true"></i> <time datetime="{{ .PublishDate.Format "2006-01-02T15:04:05Z07:00" }}"> {{ .PublishDate.Format "Jan 2, 2006" }} </time> @@ -45,7 +45,7 @@ {{ $pubDate := .PublishDate.Format "2006-01-02" }} {{ if ne $lastmodDate $pubDate }} <div class="flex items-center gap-1"> - <i data-feather="edit-2" class="w-4 h-4"></i> + <i data-feather="edit-2" class="w-4 h-4" aria-hidden="true"></i> <time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}"> {{ .Lastmod.Format "Jan 2, 2006" }} </time> @@ -56,7 +56,7 @@ <!-- Reading time --> {{ if .Site.Params.readingTime }} <div class="flex items-center gap-1"> - <i data-feather="clock" class="w-4 h-4"></i> + <i data-feather="clock" class="w-4 h-4" aria-hidden="true"></i> <span>{{ .ReadingTime }} {{ i18n "min" }} {{ i18n "readingTime" }}</span> </div> {{ end }} |
