From 55683ec08b8ddc2971d8cf0bebe361e803cca926 Mon Sep 17 00:00:00 2001 From: Marcin Mierzejewski Date: Sun, 28 Jun 2020 20:27:00 +0200 Subject: makefile: add --cleanDestinationDir --- layouts/_default/baseof.html | 3 ++- makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a322e0c..c5478c1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -35,7 +35,8 @@ + {{ .Site.Title }}:~# + {{ range $index, $element := split $url "/" }}{{ $.Scratch.Add "path" $element }}{{ if ne $element "" }}{{ . }}/{{ $.Scratch.Add "path" "/" }}{{ end }}{{ end }}