Explorar el Código

Set author tag to use config value

Apis Necros hace 2 años
padre
commit
994d68174b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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>