Procházet zdrojové kódy

Set author tag to use config value

Apis Necros před 2 roky
rodič
revize
994d68174b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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>