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

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/site-navigation.html')
-rw-r--r--layouts/partials/site-navigation.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/partials/site-navigation.html b/layouts/partials/site-navigation.html
new file mode 100644
index 0000000..d6f2779
--- /dev/null
+++ b/layouts/partials/site-navigation.html
@@ -0,0 +1,22 @@
+<nav role="navigation">
+ <div>
+ <a href="{{ .Site.BaseURL }}">
+ {{ .Site.Title }}
+ </a>
+ <div>
+ {{ partial "i18nlist.html" . }}
+ {{ if .Site.Menus.main }}
+ <ul>
+ {{ range .Site.Menus.main }}
+ <li>
+ <a href="{{ .URL }}" title="{{ .Name }} page">
+ {{ .Name }}
+ </a>
+ </li>
+ {{ end }}
+ </ul>
+ {{ end }}
+ {{ partial "social-follow.html" . }}
+ </div>
+ </div>
+</nav> \ No newline at end of file