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

@@ -16,8 +16,8 @@
<img src="{{ $avatar.RelPermalink }}" alt="{{ .Params.author }}'s avatar">
</td>
<td>
<p class="is-size-5 is-italic">This is a post by <b>{{ .Params.author }}</b>.<br>Originally
posted <b>{{ .PublishDate | time.Format ":date_full" }}</b></p>
<p><i>This is a post by <b>{{ .Params.author }}</b>.<br>Originally
posted <b>{{ .PublishDate | time.Format ":date_full" }}</b></i></p>
</td>
</tr>
</table>

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>