add option to exclude pages from indexing
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
This commit is contained in:
parent
14aba263f8
commit
f2e6f36ce6
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Impressum und Datenschutzerklärung
|
||||
description: Impressum und Datenschutzerklärung
|
||||
noindex: true
|
||||
---
|
||||
## Impressum
|
||||
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
{{ $summary := or .Page.Params.Description .Site.Params.Description }}
|
||||
<meta property="og:description" content="{{ $summary }}" />
|
||||
<meta name="description" content="{{ $summary }}" />
|
||||
{{ if .Page.Params.Noindex }}<meta name="robots" content="noindex">{{end}}
|
||||
{{ hugo.Generator }}
|
||||
|
|
Loading…
Reference in a new issue