From e8ee0c68b790b8675a9532cd79380f44c3afcdbf Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 14 Sep 2016 14:05:36 +0300 Subject: [PATCH] layouts/_default/baseof.html: Smarter meta author tag Use the post's author from frontmatter, or else use the author from the site's config. You MUST have one of these set or else you will get an error during site generation. I think it's better to force the user to define an author tag rather than only printing it if it is defined because it is a good practice to help bots understand content. --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f0f7ed0..a5dad97 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,7 +8,7 @@ {{ "" | safeHTML }} - {{ if .Site.Params.author }}{{ end }} + {{ if .Site.Params.google_verify_meta }}{{ end }}