[TIDY] fix some html formatting
This commit is contained in:
parent
1bbd0e4edd
commit
b0123f91e9
9 changed files with 17 additions and 18 deletions
|
@ -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>
|
||||
|
|
|
@ -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 -->
|
||||
|
|
|
@ -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 )</span>
|
||||
</li>
|
||||
</ul>
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue