From da35888184cfa7115184929c4b1bb40f76c8db91 Mon Sep 17 00:00:00 2001 From: Luana <47929717+luanacc@users.noreply.github.com> Date: Thu, 25 Nov 2021 23:30:49 -0300 Subject: [PATCH] Fix the title --- templates/contact.gohtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/contact.gohtml b/templates/contact.gohtml index 02e19b0..cbd2520 100644 --- a/templates/contact.gohtml +++ b/templates/contact.gohtml @@ -1,5 +1,5 @@ {{ define "title" }} - {{ .Data.Name }} + {{ with .Data.title }}{{ mdtitle . }} - {{ end }}{{ mdtitle .Blog.Title }} {{ end }} {{ define "main" }} @@ -27,4 +27,4 @@ {{ define "contact" }} {{ template "base" . }} -{{ end }} \ No newline at end of file +{{ end }}