diff options
author | Tom Forbes <tom@tomforb.es> | 2020-09-05 18:02:15 +0300 |
---|---|---|
committer | Tom Forbes <tom@tomforb.es> | 2020-09-05 18:02:15 +0300 |
commit | aba693053f95cf8e5d31ce8fff4da6b5ca978b2a (patch) | |
tree | 28a3ee0226e603a37fede0060ab0743a13458907 | |
parent | 2f2e7c4080f6ea678b141e05111ce4d65c883af5 (diff) |
Wrap hero in another section so that it displays correctly in Safari
-rw-r--r-- | layouts/_default/baseof.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 38ebf76..b853bc8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -37,15 +37,17 @@ {{- block "header" . }} {{- partial "header.html" . -}} {{- end }} - <section class="hero is-small is-info is-fullwidth"> - <div class="hero-body"> - {{- block "hero-body" . }}{{- end }} - </div> - </section> - <section class="section"> - <div class="container"> - {{- block "main" . }}{{- end }} - </div> + <section> + <section class="hero is-small is-info is-fullwidth"> + <div class="hero-body"> + {{- block "hero-body" . }}{{- end }} + </div> + </section> + <section class="section"> + <div class="container"> + {{- block "main" . }}{{- end }} + </div> + </section> </section> {{- partial "footer.html" . -}} </body> |