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

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 923d10e..35db6f1 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -21,9 +21,11 @@
<h1>{{ .Site.Title }}</h1>
{{- with .Site.Menus.main }}
<nav class="app-header-menu">
- -
- {{- range . }}
- <a href="{{ .URL }}">{{ .Name }}</a> -
+ {{- range $key, $item := . }}
+ {{- if ne $key 0 }}
+ {{ $.Site.Params.menu_item_separator | default " - " | safeHTML }}
+ {{ end }}
+ <a class="app-header-menu-item" href="{{ $item.URL }}">{{ $item.Name }}</a>
{{- end }}
</nav>
{{- end }}