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

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index ac43bc1..d16a010 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -4,16 +4,8 @@
<div class="col-12">
<div class="footer-inner">
<h3 class="footer-title">{{.Site.Title}}</h3>
- <ul>
- {{ $currentPage := . }}
- {{ range .Site.Menus.footer }}
- <li class="menu-item-{{ .Name | lower }}{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}">
- <a href="{{.URL}}">
- {{ .Name }}
- </a>
- </li>
- {{end}}
- </ul>
+ {{ partial "footer-menu" . }}
+
</div>
</div>
</div>