{{- if .Params.redirectTo -}} {{- /* Soft 301 for retired/cannibalizing pages. GitHub Pages can't emit a real 301, so meta-refresh + noindex,follow lets Google drop the thin page and pass its equity through. A real 301 will come from the NPM proxy later. */ -}} {{- else -}} {{- end }} {{ partial "schema-app.html" . }} {{ partial "adsense/head.html" . }} {{- if and .Site.Params.ethicalads.publisher (ne hugo.Environment "development") -}} {{- end -}} {{- $ethicalAds := and .Site.Params.ethicalads.publisher (ne hugo.Environment "development") -}} {{- $ethicalAdsHeader := and $ethicalAds (not .IsPage) -}}
{{- if $ethicalAdsHeader -}}{{ partial "ethicalads.html" . }}{{- end -}}{{ .Site.Params.subtitle }}