diff --git a/layouts/index.html b/layouts/index.html index c7eb2a4..fe2186e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,13 +1,3 @@ -{{- define "content-header" -}} -
-

{{.Title}}

- {{- if .Params.Subtitle }} -

{{.Params.Subtitle}}

- {{- else if .Site.Params.Subtitle }} -

{{.Site.Params.Subtitle}}

- {{- end }} -
-{{ end }} {{ define "content" }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e69de29..d620aa3 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -0,0 +1,6 @@ +
+

{{.Site.Title}}

+ {{- if .Site.Params.Subtitle }} +

{{.Site.Params.Subtitle}}

+ {{- end }} +
\ No newline at end of file