diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2022-04-26 13:14:22 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2022-04-26 13:14:22 +0200 |
commit | 1852b16d938e978409b9066b5fa2bf27b1a0f496 (patch) | |
tree | 9941031b9d837f2bf7d7ecec6679e30bbfab3076 /layouts/partials/docs/html-head.html | |
parent | c2014a08a534ef6b55505e719a68ccce88cb3cdb (diff) |
#440L Adjust bookHref, check .Content again, add redirect
Diffstat (limited to 'layouts/partials/docs/html-head.html')
-rw-r--r-- | layouts/partials/docs/html-head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index ee855f6..b22c610 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -4,6 +4,10 @@ <meta name="theme-color" content="#FFFFFF"> <meta name="color-scheme" content="light dark"> +{{- with .Page.Params.BookHref -}} + <meta http-equiv="Refresh" content="0; url='{{ . }}'" /> +{{- end -}} + {{- template "_internal/opengraph.html" . -}} <title>{{ partial "docs/html-head-title" . }}</title> |