[TIDY] fix some html formatting

This commit is contained in:
jtbx 2023-11-03 20:36:12 +01:00
commit b0123f91e9
9 changed files with 17 additions and 18 deletions

View file

@ -2,6 +2,6 @@
<div class="clearfix"></div>
<footer class="container">
<nav class="menu">
{{- partial "menu.html" (dict "menuID" "footer" "page" . ) -}}
{{- partial "menu.html" (dict "menuID" "footer" "page" . ) }}
</nav>
</footer>

View file

@ -16,7 +16,7 @@
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{- end }}
<title>{{ .Title }}</title>
<!-- TODO: Favicon -->

View file

@ -4,7 +4,7 @@
<ul>
{{- if compare.Eq $menuID "main" -}}
{{ $image := resources.Get "images/logo.svg" }}
{{- $image := resources.Get "images/logo.svg" }}
<li><a href="/{{ .Site.Home.URL }}"><img src="{{ $image.RelPermalink }}" class="invert-on-light" width="150px" alt="CCCHH Icon"></a></li>
{{- end }}
{{- range $menuContent }}
@ -21,12 +21,11 @@
{{- end -}}
>{{ or (T .Identifier) .Name | safeHTML }}</a></li>
{{- end }}
</ul>
{{- if compare.Eq $menuID "main" -}}
{{ if compare.Eq $menuID "main" -}}
<ul>
<li class="roomstate" id="roomstate">
<span class="state">unbekannt</span><br><span class="duration">(seit&nbsp;)</span>
</li>
</ul>
{{- end }}
{{- end -}}