Quellcode durchsuchen

Set author tag to use config value

Apis Necros vor 2 Jahren
Ursprung
Commit
994d68174b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      layouts/partials/head.html

+ 2 - 2
layouts/partials/head.html

@@ -1,10 +1,10 @@
 <head>
 	<meta charset="UTF-8" />
 	<meta http-equiv="content-language" content="en-us" />
-	<meta name="author" content="Apis Necros" />
+	<meta name="author" content="{{ .Site.Params.Author }}" />
 	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
 	<link rel="pgpkey authn" href="/.well-known/apisnecros.txt" />
-	{{ $title := print .Title " - " .Site.Title }}
+	{{- $title := print .Title " - " .Site.Title }}
 	{{ if .IsHome }} {{ $title = .Site.Title }} {{ end }}
 	<title>{{ $title }}</title>