diff --git a/layouts/home.html b/layouts/home.html index e7514fb..6cf9e30 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -1,17 +1,73 @@ {{ define "main" }} - {{ $site := . }} {{/* Save the global context */}} - {{ if not - .Site.Params.homePage - }} + {{ if not .Site.Params.homePage }} {{ with .Content }}{{ . }}{{ end }} {{ else }} - {{ with .Site.Params.homePage }} - - -
- - - - {{ end }} + + + + + + +Redirecting to {{ .Site.Params.homePage }}...
+ + {{ end }} {{ end }}