1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-02 17:54:27 +00:00

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

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" }}