Fix the title

This commit is contained in:
Luana 2021-11-25 23:30:49 -03:00 committed by GitHub
parent 965765f014
commit da35888184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{{ define "title" }}
<title>{{ .Data.Name }}</title>
<title>{{ with .Data.title }}{{ mdtitle . }} - {{ end }}{{ mdtitle .Blog.Title }}</title>
{{ end }}
{{ define "main" }}
@ -27,4 +27,4 @@
{{ define "contact" }}
{{ template "base" . }}
{{ end }}
{{ end }}