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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-08-01 11:09:14 +0300
committerHanzei <hanzei@mailbox.org>2018-08-01 11:11:05 +0300
commit9422e3a1f15bba0c7252309295a311f6326b9142 (patch)
tree1a67954266482d779f3828450916101c629e4377
parentef4cd37814ed3acb0d7cedbcef6d28372624217a (diff)
Add section margin to home
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/index.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 0e3d569..0345ff8 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -12,7 +12,7 @@
{{ end }}
</head>
<body>
- <section class="section" id="top">
+ <section id="top" class="section">
<!-- Begin Title -->
<div class="container hero {{ if .Site.Params.fadeIn | default true }} fade-in one {{ end }}">
{{ block "title" . }}
diff --git a/layouts/index.html b/layouts/index.html
index 6dede6b..6bb259f 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -8,7 +8,7 @@
{{ partial "css/owlCarousel.html" . }}
</head>
<body>
- <div id="top">
+ <section id="top" class="section">
{{ with .Site.GetPage "/home" }}
<div class="hero is-{{ .Site.Params.home.introHeight | default "large" }}">
<!-- Super sweet Hero body title -->
@@ -103,7 +103,7 @@
{{ partial "footer/text.html" . }}
</div>
- </div>
+ </section>
<!-- End of fade in three section -->
{{ partial "footer/scripts.html" . }}
{{ partial "js/owlCarousel.html" . }}