aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.json1
-rw-r--r--config.toml1
-rw-r--r--config.yaml1
-rw-r--r--themes/default/layouts/partials/head.html5
4 files changed, 8 insertions, 0 deletions
diff --git a/config.json b/config.json
index 94656ff..27ae6df 100644
--- a/config.json
+++ b/config.json
@@ -10,6 +10,7 @@
"enableRobotsTXT": true,
"author": {
"default": {
+ "home": "canory",
"user": "default",
"webring": "canory",
"picturegallery": "canory"
diff --git a/config.toml b/config.toml
index 548178b..d3592d5 100644
--- a/config.toml
+++ b/config.toml
@@ -11,6 +11,7 @@ enableRobotsTXT = true
footer = "A Micro Blog\n"
[author.default]
+ home = "canory"
user = "default"
webring = "canory"
picturegallery = "canory"
diff --git a/config.yaml b/config.yaml
index a3eee9d..9eb06d4 100644
--- a/config.yaml
+++ b/config.yaml
@@ -12,6 +12,7 @@ enableRobotsTXT: true
author:
default:
+ home: canory
user: default
webring: canory
picturegallery: canory
diff --git a/themes/default/layouts/partials/head.html b/themes/default/layouts/partials/head.html
index da9c04a..33c1a6a 100644
--- a/themes/default/layouts/partials/head.html
+++ b/themes/default/layouts/partials/head.html
@@ -36,6 +36,11 @@
<!-- Search Verification -->
{{- partial "head-search.html" . -}}
+<!-- Link Tags -->
+{{- range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.home) -}}
+<link rel="home" href="{{ .Site.BaseURL }}/{{ partial "author-user.html" . }}">
+{{- end }}
+
<!-- Style Sheets & Scripts -->
{{- $index := resources.Get "js/index.js" -}}
{{- $default := resources.Get "css/default.css" -}}