Add badge logos and encode Danish badges as YAML #56
|
@ -20,16 +20,6 @@
|
|||
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
||||
|
||||
{{ if .IsHome }}
|
||||
{{ $homepage := "Home" }}
|
||||
{{ with .Site.Menus.nav }}
|
||||
{{ range first 1 . }}
|
||||
{{ $homepage = .Name }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<title>{{ $homepage }} | {{ .Site.Title }}</title>
|
||||
{{ else }}
|
||||
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||
{{ end }}
|
||||
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue