Fixed generated whitespaces

This commit is contained in:
Théophile Bastian 2019-05-11 21:54:00 +02:00
parent b0da775930
commit 204579c932
2 changed files with 5 additions and 1 deletions

View file

@ -4,7 +4,7 @@
<link rel="stylesheet" href="/css/style.css">
<meta charset="utf-8">
<title>{{ block "title" . }}
{{ .Site.Title }}
{{- .Site.Title -}}
{{ end }}</title>
</head>
<body>

View file

@ -1,3 +1,7 @@
{{ define "title" }}
{{- $.Site.Title }} — {{ .Page.Title -}}
{{ end }}
{{ define "ingredients" }}
{{ partial "ingredients.html" . }}
{{ end }}