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" }}
|
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
<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>
|
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue