Cleanup some invalid markup

This commit is contained in:
2024-02-25 06:18:29 +00:00
parent 352fb3e6a2
commit 340970384c
2 changed files with 4 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
{{ with resources.Get "images/rose_logo.gif" }}
<h1><a href="{{ absURL "" }}"><img src="{{ .RelPermalink }}" alt="The logo of Leigh Hackspace" width="70px"></a> Leigh
<h1><a href="{{ absURL "" }}" border="0"><img src="{{ .RelPermalink }}" alt="The logo of Leigh Hackspace" width="70px"></a> Leigh
Hackspace</h1>
{{ end }}
<p>
{{ $menu_items := add (len site.Menus.main) -1 }}
{{- range $i, $e := site.Menus.main }}
<a href="{{ .URL }}" class="active navbar-item has-shadow is-size-5">{{ .Name }}</a>{{ if lt $i $menu_items }} / {{ end }}
<a href="{{ .URL }}">{{ .Name }}</a>{{ if lt $i $menu_items }} / {{ end }}
{{- end }}
</p>
<hr>