From 669323f00c0b9aea75f8914ea74777e57feea421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 4 Oct 2022 15:32:33 +0200 Subject: [PATCH] a11y: remove superfluous title attributes #307 --- exampleSite/layouts/partials/menu-footer.html | 2 +- layouts/partials/menu-footer.html | 2 +- layouts/partials/menu.html | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exampleSite/layouts/partials/menu-footer.html b/exampleSite/layouts/partials/menu-footer.html index a93b0149c4..f8f4fcc105 100644 --- a/exampleSite/layouts/partials/menu-footer.html +++ b/exampleSite/layouts/partials/menu-footer.html @@ -17,5 +17,5 @@ Download Star Fork -

Built with by Hugo

+

Built with by Hugo

\ No newline at end of file diff --git a/layouts/partials/menu-footer.html b/layouts/partials/menu-footer.html index 478e2ef153..c6b04888d3 100644 --- a/layouts/partials/menu-footer.html +++ b/layouts/partials/menu-footer.html @@ -1,2 +1,2 @@ -

Built with by Hugo

\ No newline at end of file +

Built with by Hugo

\ No newline at end of file diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index dbfe037df8..c345728198 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -144,7 +144,7 @@ {{- $currentAlwaysopen := .Params.alwaysopen | default $alwaysopen }} {{- $pageHash := md5 .Page }} {{- $isOpen := or $currentAlwaysopen $isSelf $isAncestor }} -
  • +
  • {{- partial "menu-pre.html" . }}{{ or .Params.menuTitle .LinkTitle .Title }}{{ partial "menu-post.html" . }} {{- if $showvisitedlinks }}{{ end }}
  • {{- else }} -
  • +
  • {{- partial "menu-pre.html" . }}{{ or .Params.menuTitle .LinkTitle .Title }}{{ partial "menu-post.html" . }} {{- if $showvisitedlinks }}{{ end }}
  • {{- end }} {{- else }} -
  • +
  • {{- partial "menu-pre.html" . }}{{ or .Params.menuTitle .LinkTitle .Title }}{{ partial "menu-post.html" . }} {{- if $showvisitedlinks }}{{ end }}
  • {{- end }}