Fix HTML 4.01 Transitional issues

This commit is contained in:
2024-02-19 14:41:50 +00:00
parent f96b0d770e
commit b0f804f9b2
5 changed files with 10 additions and 10 deletions

View File

@@ -1,12 +1,11 @@
{{ with resources.Get "images/rose_logo.jpg" }}
<h1><a href="{{ absURL "" }}"><img src="{{ .RelPermalink }}" alt="The logo of Leigh Hackspace" width="70px"></a> Leigh Hackspace</h1>
<h1><a href="{{ absURL "" }}"><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>
<a href="{{ .URL }}" class="active navbar-item has-shadow is-size-5">{{ .Name }}</a>{{ if lt $i $menu_items }} / {{ end }}
{{- end }}
</p>
<hr>