Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/orf/bare-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2020-09-05 18:02:15 +0300
committerTom Forbes <tom@tomforb.es>2020-09-05 18:02:15 +0300
commitaba693053f95cf8e5d31ce8fff4da6b5ca978b2a (patch)
tree28a3ee0226e603a37fede0060ab0743a13458907
parent2f2e7c4080f6ea678b141e05111ce4d65c883af5 (diff)
Wrap hero in another section so that it displays correctly in Safari
-rw-r--r--layouts/_default/baseof.html20
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>