<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{ if .Title }}{{ .Title }}{{ else }}Default Main Title{{ end }}</title> </head> <body> {{ template "content" . }} <footer>{{ partial "partials/footer" .}}</footer> </body> </html>