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 committed Sep 17, 2024
1 parent 568e13b commit b310455
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 b310455

Please sign in to comment.