summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-04-12 00:12:11 +0200
committermms <michal@sapka.me>2024-04-12 00:12:11 +0200
commit3f2eaa37c2ba1ba343f26ff3ae5d6b118be63abf (patch)
tree0977391cccf8dd34777013d276296a043e9681d4 /layouts/partials
parent09eb56e370590bfa3030e8af649331507764edbb (diff)
chore: homepage w3c valid
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header/header.html29
-rw-r--r--layouts/partials/homepage/bsd.html3
-rw-r--r--layouts/partials/homepage/emacs.html3
-rw-r--r--layouts/partials/homepage/nameplate.html2
-rw-r--r--layouts/partials/homepage/startrek.html1
5 files changed, 18 insertions, 20 deletions
diff --git a/layouts/partials/header/header.html b/layouts/partials/header/header.html
index 9ebe72e..c32cadd 100644
--- a/layouts/partials/header/header.html
+++ b/layouts/partials/header/header.html
@@ -18,25 +18,20 @@
{{ end }}
</div>
- <div class="name" aria-label="bradcrumb">
+ <div class="name">
<nav>
- <ol>
- {{- range .Ancestors.Reverse }}
- {{- if .LinkTitle}}
- <li>
- <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
+ <ol>
+ {{- range .Ancestors.Reverse }}
+ {{- if .LinkTitle}}
+ <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
+ {{- end }}
+ {{- end }}
+ <li>
+ <h1>
+ <a aria-current="page" href="{{ .RelPermalink }}">{{ .Page.Title }}</a>
+ </h1>
</li>
- {{- end }}
- {{- end }}
- </ol>
- <h1>
- <a aria-current="page" href="{{ .RelPermalink }}">
- {{ .Page.Title }}
- </a>
- </h1>
- <ol>
-
-
+ </ol>
</nav>
</div>
</header>
diff --git a/layouts/partials/homepage/bsd.html b/layouts/partials/homepage/bsd.html
index b04610d..00e8f21 100644
--- a/layouts/partials/homepage/bsd.html
+++ b/layouts/partials/homepage/bsd.html
@@ -7,7 +7,8 @@
<section class="bsd" style="display: flow-root">
<h2 id="bsd"><a href="#bsd">Berkeley Software Distribution</a></h2>
- <img
+ <img
+ alt="BSD Beastie mascot"
style="float: right; max-width: 20%;"
src="{{ $img1x.Permalink }}"
srcset="
diff --git a/layouts/partials/homepage/emacs.html b/layouts/partials/homepage/emacs.html
index 807185e..38b2717 100644
--- a/layouts/partials/homepage/emacs.html
+++ b/layouts/partials/homepage/emacs.html
@@ -7,7 +7,8 @@
<section class="emacs">
<h2 id="emacs"><a href="#emacs">Emacs</a></h2>
<div style="display: flow-root; vertical-align: middle;">
- <img
+ <img
+ alt="Emacs logo"
style="float: left; max-width: 20%; margin-right: 10px;"
src="{{ $img1x.Permalink }}"
srcset="
diff --git a/layouts/partials/homepage/nameplate.html b/layouts/partials/homepage/nameplate.html
index 4e89f8a..13bed19 100644
--- a/layouts/partials/homepage/nameplate.html
+++ b/layouts/partials/homepage/nameplate.html
@@ -13,7 +13,7 @@
alt="Human-made Content">
</a>
- <div style="float: center">
+ <div>
<table class="small">
<tr>
<td> Name </td>
diff --git a/layouts/partials/homepage/startrek.html b/layouts/partials/homepage/startrek.html
index 845c07a..d248e89 100644
--- a/layouts/partials/homepage/startrek.html
+++ b/layouts/partials/homepage/startrek.html
@@ -7,6 +7,7 @@
<section class="star-trek" style="display: flow-root">
<h2 id="star-trek"><a href="#star-trek">Star Trek</a></h2>
<img
+ alt="Voyager"
class="vert-move"
style="float: right; max-width: 20%;"
src="{{ $img1x.Permalink }}"