From cabbcc082cc0c43039e47bf14587f3fd8c92acb8 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Tue, 24 Nov 2020 19:14:33 +0100 Subject: [PATCH] fix: Same as above, just with cleaner code --- layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index dbcc878..a7af703 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,7 @@
- =={{ strings.Repeat ( .Site.Title | len ) "=" }}==
+ {{ strings.Repeat ( .Site.Title | len | add 4 ) "=" }}
= {{ .Site.Title }} =
- =={{ strings.Repeat ( .Site.Title | len ) "=" }}== + {{ strings.Repeat ( .Site.Title | len | add 4 ) "=" }}
{{ .Site.Params.subtitle }}