diff --git a/layouts/partials/_index.html b/layouts/partials/_index.html index 8250488442..3e7831c24b 100644 --- a/layouts/partials/_index.html +++ b/layouts/partials/_index.html @@ -1,25 +1,9 @@ {{- partial "header.html" . }} -{{- if .Site.Home.Content }} - {{- if eq (.Scratch.Get "relearnOutputFormat") "PRINT" }} - {{- partial "body.print.html" .Site.Home }} - {{- else }} - {{- partial "body.html" .Site.Home }} - {{- end }} +{{- if not .Site.Home.Content }} + {{- partial "initial.html" .Site.Home }} +{{- else if eq (.Scratch.Get "relearnOutputFormat") "PRINT" }} + {{- partial "body.print.html" .Site.Home }} {{- else }} -
- -

Customize your own home page

-

- The site is working. Don't forget to customize this page with your own. You typically have 3 choices : -

- - - -
+ {{- partial "body.html" .Site.Home }} {{- end }} {{- partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/partials/initial.html b/layouts/partials/initial.html new file mode 100644 index 0000000000..001a241678 --- /dev/null +++ b/layouts/partials/initial.html @@ -0,0 +1,15 @@ +
+ +

Customize your own home page

+

+ The site is working. Don't forget to customize this page with your own. You typically have 3 choices : +

+ + + +
\ No newline at end of file