Skip to content

Commit

Permalink
fix(head): don't append page title
Browse files Browse the repository at this point in the history
  • Loading branch information
noxilixon authored and FFHener committed Sep 23, 2024
1 parent 13b0d23 commit 65de40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{/* Overwriting the theme partial to set custom meta tags, reduce css and remove unused components. */}}
<head>
<meta charset="utf-8" />
<title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
<title>{{ if .Params.Title }}{{ .Params.Title }} {{ else }} {{ .Site.Title }} {{ end }}</title>
{{- if not hugo.IsProduction }}
<meta name="robots" content="noindex">
{{- end }}
Expand Down

0 comments on commit 65de40e

Please sign in to comment.