diff options
author | RayHammer <evkondratyev@yandex.ru> | 2022-10-20 08:33:16 +0200 |
---|---|---|
committer | RayHammer <evkondratyev@yandex.ru> | 2022-10-20 08:33:16 +0200 |
commit | 1c4ff4d5e9f1d776fef066ae001b50fdd32dccda (patch) | |
tree | 15bcb90f3684ff7d396b70357726f475707c25aa | |
parent | 3bfaf76d19b42d08f3a3c639c1bf3f9a90abfef3 (diff) |
Moved jumbotron block to contain header and footer
-rw-r--r-- | themes/stingray/layouts/_default/baseof.html | 20 | ||||
-rw-r--r-- | themes/stingray/layouts/index.html | 14 |
2 files changed, 17 insertions, 17 deletions
diff --git a/themes/stingray/layouts/_default/baseof.html b/themes/stingray/layouts/_default/baseof.html index a935536..d4ded14 100644 --- a/themes/stingray/layouts/_default/baseof.html +++ b/themes/stingray/layouts/_default/baseof.html @@ -2,14 +2,16 @@ <html> {{- partial "head.html" . -}} <body> - <header> - {{- partial "header.html" . -}} - </header> - <main id="content"> - {{- block "main" . }}{{- end }} - </main> - <footer> - {{- partial "footer.html" . -}} - </footer> + <div class="jumbotron"> + <header> + {{- partial "header.html" . -}} + </header> + <main id="content"> + {{- block "main" . }}{{- end }} + </main> + <footer> + {{- partial "footer.html" . -}} + </footer> + </div> </body> </html> diff --git a/themes/stingray/layouts/index.html b/themes/stingray/layouts/index.html index 4bc1983..31208e3 100644 --- a/themes/stingray/layouts/index.html +++ b/themes/stingray/layouts/index.html @@ -1,11 +1,9 @@ {{ define "main" }} -<div id="home-jumbotron" class="jumbotron"> - <div class="text-center"> - <h1 class="title">{{ .Site.Title }}</h1> - {{ .Description }} - </div> - <div> - {{ .Content }} - </div> +<div class="text-center"> + <h1 class="title">{{ .Site.Title }}</h1> + {{ .Description }} +</div> +<div> + {{ .Content }} </div> {{ end }}
\ No newline at end of file |