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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/top.html')
-rw-r--r--layouts/partials/top.html26
1 files changed, 14 insertions, 12 deletions
diff --git a/layouts/partials/top.html b/layouts/partials/top.html
index 441944b..fd4b7a9 100644
--- a/layouts/partials/top.html
+++ b/layouts/partials/top.html
@@ -1,18 +1,20 @@
{{ if .Site.Params.topbar.enable }}
-<div id="top">
- <div class="container">
- <div class="row">
- <div class="col-xs-5">
- {{ .Site.Params.topbar.text | safeHTML }}
- </div>
- <div class="col-xs-7">
- <div class="social">
- {{ range .Site.Menus.topbar.ByWeight }}
- <a href="{{ .URL }}" target="_blank" style="opacity: 1;">{{ .Pre }}</a>
- {{ end }}
+<header>
+ <div id="top">
+ <div class="container">
+ <div class="row">
+ <div class="col-xs-5">
+ {{ .Site.Params.topbar.text | safeHTML }}
+ </div>
+ <div class="col-xs-7">
+ <div class="social">
+ {{ range .Site.Menus.topbar.ByWeight }}
+ <a href="{{ .URL }}" target="_blank" style="opacity: 1;">{{ .Pre }}</a>
+ {{ end }}
+ </div>
</div>
</div>
</div>
</div>
-</div>
+</header>
{{ end }}