Skip to content

Commit ff4edc1

Browse files
authored
Merge pull request #200 from NeurodataWithoutBorders/fix-title-separator
Put a space after the dash in page titles
2 parents 683dc74 + 2326ba4 commit ff4edc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎layouts/partials/essentials/head.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
55

66
{{/* Title */}}
7-
<title>{{ if not .IsHome }}{{ .Title | plainify }} -{{ end }}{{ .Site.Title }}</title>
7+
<title>{{ if and .Title (not .IsHome) }}{{ .Title | plainify }} - {{ end }}{{ .Site.Title }}</title>
88

99
{{/* Bootstrap Icons */}}
1010
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">

0 commit comments

Comments
 (0)