[ci skip] Update the site-navigation partial
This commit is contained in:
parent
2644d68db3
commit
8fada916f2
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
<div class="flex-l justify-between items-center center b">
|
<div class="flex-l justify-between items-center center b">
|
||||||
<a href="{{ .Site.Home.RelPermalink }}" class="site-logo f3 fw4 hover-white no-underline white-90 dib">
|
<a href="{{ .Site.Home.RelPermalink }}" class="site-logo f3 fw4 hover-white no-underline white-90 dib">
|
||||||
{{ with .Site.Params.site_logo }}
|
{{ with .Site.Params.site_logo }}
|
||||||
<img src="{{ . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}">
|
<img src="{{ relURL . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Site.Title }}
|
{{ .Site.Title }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -12,10 +12,10 @@
|
||||||
{{ if .Site.Menus.main }}
|
{{ if .Site.Menus.main }}
|
||||||
<input class="main-menu-button" type="checkbox" id="main-menu-button" />
|
<input class="main-menu-button" type="checkbox" id="main-menu-button" />
|
||||||
<label class="main-menu-label" for="main-menu-button"><span class="main-menu-icon"></span></label>
|
<label class="main-menu-label" for="main-menu-button"><span class="main-menu-icon"></span></label>
|
||||||
<ul class="main-menu-list pl0 mr3">
|
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
<li class="list f5 f4-ns fw4 dib pr3">
|
<li class="list f5 f4-ns fw4 dib pr3">
|
||||||
<a class="hover-white no-underline white-90 fw4" href="{{ .URL }}" title="{{ .Name }} page">
|
<a class="hover-white no-underline white-90 fw4" href="{{ .URL }}" title="{{ i18n "pageTitle" . }}">
|
||||||
{{ .Name }}
|
{{ .Name }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Add table
Reference in a new issue