From 0d068637ccd8220cd2cb5da2cc034b78a12703d6 Mon Sep 17 00:00:00 2001
From: Johannes Arnold <johannes.arnold@stud.uni-hannover.de>
Date: Thu, 18 Apr 2024 15:23:24 +0000
Subject: [PATCH] Include authors meta tag (#634)
---
layouts/_default/baseof.html | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 52e7e67..2060f6f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -16,6 +16,15 @@
{{ else }}
<meta name="robots" content="noindex, nofollow">
{{ end }}
+ {{ with .Params.author | default .Site.Params.author }}
+ <meta name="author" content = "
+ {{- if reflect.IsSlice . -}}
+ {{ delimit . ", " | plainify }}
+ {{- else -}}
+ {{ . | plainify }}
+ {{- end -}}
+ ">
+ {{ end }}
{{ partial "site-style.html" . }}
{{ partial "site-scripts.html" . }}
--
Gitblit v1.10.0