Skip to content

Commit

Permalink
Fix website title (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinreact committed Feb 14, 2025
1 parent 9ac3618 commit b69fd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/mainroad/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{ if or (eq .Title "Blogs") (eq .Title "News") }}
<title>Clash: {{ string .CurrentSection.Type | title }}</title>
<title>Clash Formal: {{ string .CurrentSection.Type | title }}</title>
{{ else }}
{{ if .Title }}
<title>Clash: {{ .Title }}</title>
<title>Clash Formal: {{ .Title }}</title>
{{ else }}
<title</title>
{{ end }}
Expand Down

0 comments on commit b69fd6d

Please sign in to comment.