mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
theme: move essential call to page-meta to prominent location #308
This commit is contained in:
parent
7f3fbe1753
commit
c73d64b0a7
4 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
{{- partial "page-meta.hugo" . }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Page.Language | default "en" }}">
|
||||
<head>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- partial "page-meta.hugo" . }}
|
||||
{{- partial "output-partial.html" (dict "base" "header" "page" . "parameter" .) }}
|
||||
{{- if not .File }}
|
||||
{{- partial "output-partial.html" (dict "base" "body" "page" . "parameter" (dict "page" . "content" (partial "initial.html" .))) }}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- partial "page-meta.hugo" . }}
|
||||
{{- partial "header.html" . }}
|
||||
<article>
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
{{- $ver = replaceRE "\\s*(\\S*)" "${1}" $ver }}
|
||||
{{- $ver := printf "<meta name=\"generator\" content=\"%s %s\">" "Relearn" $ver }}
|
||||
{{ $ver | safeHTML }}
|
||||
{{- partial "page-meta.hugo" . }}
|
||||
{{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }}
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue