diff options
author | mms <michal@sapka.me> | 2024-04-12 00:12:11 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-04-12 00:12:11 +0200 |
commit | 3f2eaa37c2ba1ba343f26ff3ae5d6b118be63abf (patch) | |
tree | 0977391cccf8dd34777013d276296a043e9681d4 /layouts/partials | |
parent | 09eb56e370590bfa3030e8af649331507764edbb (diff) |
chore: homepage w3c valid
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/header/header.html | 29 | ||||
-rw-r--r-- | layouts/partials/homepage/bsd.html | 3 | ||||
-rw-r--r-- | layouts/partials/homepage/emacs.html | 3 | ||||
-rw-r--r-- | layouts/partials/homepage/nameplate.html | 2 | ||||
-rw-r--r-- | layouts/partials/homepage/startrek.html | 1 |
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 }}" |