Add badge logos and encode Danish badges as YAML #56

Merged
benjaoming merged 9 commits from benjaoming/website:badge-definitions into new 2023-01-23 12:11:33 +00:00
Showing only changes of commit 25ddc7a26b - Show all commits

View file

@ -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>