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

View File

@@ -1,11 +1,11 @@
{{ with resources.Get "images/rose_logo.gif" }} {{ 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> Hackspace</h1>
{{ end }} {{ end }}
<p> <p>
{{ $menu_items := add (len site.Menus.main) -1 }} {{ $menu_items := add (len site.Menus.main) -1 }}
{{- range $i, $e := site.Menus.main }} {{- 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 }} {{- end }}
</p> </p>
<hr> <hr>