summaryrefslogtreecommitdiffstats
path: root/layouts/_default/home.humanstxt.txt
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/home.humanstxt.txt')
-rw-r--r--layouts/_default/home.humanstxt.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/_default/home.humanstxt.txt b/layouts/_default/home.humanstxt.txt
index 0d3efe9..23286fe 100644
--- a/layouts/_default/home.humanstxt.txt
+++ b/layouts/_default/home.humanstxt.txt
@@ -1,11 +1,12 @@
-{{- with site.Author.name }}
+{{- $siteAuthor := partial "site-author.html" . -}}
+{{- with $siteAuthor.name }}
/* TEAM */
Author: {{ . }}
-{{- with site.Author.email }}{{ printf "\n Contact: %s" . }}{{ end }}
-{{- with site.Author.github }}{{ printf "\n GitHub: @%s" . }}{{ end }}
-{{- with site.Author.twitter }}{{ printf "\n Twitter: @%s" . }}{{ end }}
-{{- with site.Author.location }}{{ printf "\n From: %s" . }}{{ end }}
+{{- with $siteAuthor.email }}{{ printf "\n Contact: %s" . }}{{ end }}
+{{- with $siteAuthor.github }}{{ printf "\n GitHub: @%s" . }}{{ end }}
+{{- with $siteAuthor.twitter }}{{ printf "\n Twitter: @%s" . }}{{ end }}
+{{- with $siteAuthor.location }}{{ printf "\n From: %s" . }}{{ end }}
{{- end }}
/* SITE */
@@ -15,3 +16,4 @@
Doctype: HTML5
Standards: HTML5, CSS3, Open Graph protocol, Schema.org
Components: Hugo, Ed Theme, Lunr.js
+ Hugo version: {{ site.Hugo.Version }}