Compare commits

...

2 commits

Author SHA1 Message Date
f2e6f36ce6
add option to exclude pages from indexing
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
2023-08-31 11:46:54 +02:00
14aba263f8
remoe section title leftover 2023-08-31 11:46:35 +02:00
3 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,7 @@
--- ---
title: Impressum und Datenschutzerklärung title: Impressum und Datenschutzerklärung
description: Impressum und Datenschutzerklärung description: Impressum und Datenschutzerklärung
noindex: true
--- ---
## Impressum ## Impressum

View file

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
{{ partial "head/meta.html" . }} {{ partial "head/meta.html" . }}
<title>{{ or .Title .Site.Title }}{{ if ne .Kind "home" }} | {{ .CurrentSection.Title }}{{ end }}</title> <title>{{ or .Title .Site.Title }}</title>
{{ partial "head/favicon.html" . }} {{ partial "head/favicon.html" . }}
{{ partial "head/styling.html" . }} {{ partial "head/styling.html" . }}
</head> </head>

View file

@ -6,4 +6,5 @@
{{ $summary := or .Page.Params.Description .Site.Params.Description }} {{ $summary := or .Page.Params.Description .Site.Params.Description }}
<meta property="og:description" content="{{ $summary }}" /> <meta property="og:description" content="{{ $summary }}" />
<meta name="description" content="{{ $summary }}" /> <meta name="description" content="{{ $summary }}" />
{{ if .Page.Params.Noindex }}<meta name="robots" content="noindex">{{end}}
{{ hugo.Generator }} {{ hugo.Generator }}